forked from aws/aws-sdk-cpp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for referencing security groups in peered Virtual Priva…
…te Clouds. Added support for SNS notifications on directorieis.
- Loading branch information
1 parent
79749d8
commit 3f84fee
Showing
50 changed files
with
2,745 additions
and
604 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
132 changes: 132 additions & 0 deletions
132
aws-cpp-sdk-ds/include/aws/ds/model/DeregisterEventTopicRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
/* | ||
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
#pragma once | ||
#include <aws/ds/DirectoryService_EXPORTS.h> | ||
#include <aws/ds/DirectoryServiceRequest.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
|
||
namespace Aws | ||
{ | ||
namespace DirectoryService | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p>Removes the specified directory as a publisher to the specified SNS | ||
* topic.</p> | ||
*/ | ||
class AWS_DIRECTORYSERVICE_API DeregisterEventTopicRequest : public DirectoryServiceRequest | ||
{ | ||
public: | ||
DeregisterEventTopicRequest(); | ||
Aws::String SerializePayload() const override; | ||
|
||
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; | ||
|
||
/** | ||
* <p>The Directory ID to remove as a publisher. This directory will no longer send | ||
* messages to the specified SNS topic.</p> | ||
*/ | ||
inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } | ||
|
||
/** | ||
* <p>The Directory ID to remove as a publisher. This directory will no longer send | ||
* messages to the specified SNS topic.</p> | ||
*/ | ||
inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } | ||
|
||
/** | ||
* <p>The Directory ID to remove as a publisher. This directory will no longer send | ||
* messages to the specified SNS topic.</p> | ||
*/ | ||
inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } | ||
|
||
/** | ||
* <p>The Directory ID to remove as a publisher. This directory will no longer send | ||
* messages to the specified SNS topic.</p> | ||
*/ | ||
inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } | ||
|
||
/** | ||
* <p>The Directory ID to remove as a publisher. This directory will no longer send | ||
* messages to the specified SNS topic.</p> | ||
*/ | ||
inline DeregisterEventTopicRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} | ||
|
||
/** | ||
* <p>The Directory ID to remove as a publisher. This directory will no longer send | ||
* messages to the specified SNS topic.</p> | ||
*/ | ||
inline DeregisterEventTopicRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(value); return *this;} | ||
|
||
/** | ||
* <p>The Directory ID to remove as a publisher. This directory will no longer send | ||
* messages to the specified SNS topic.</p> | ||
*/ | ||
inline DeregisterEventTopicRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} | ||
|
||
/** | ||
* <p>The name of the SNS topic from which to remove the directory as a | ||
* publisher.</p> | ||
*/ | ||
inline const Aws::String& GetTopicName() const{ return m_topicName; } | ||
|
||
/** | ||
* <p>The name of the SNS topic from which to remove the directory as a | ||
* publisher.</p> | ||
*/ | ||
inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; } | ||
|
||
/** | ||
* <p>The name of the SNS topic from which to remove the directory as a | ||
* publisher.</p> | ||
*/ | ||
inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = value; } | ||
|
||
/** | ||
* <p>The name of the SNS topic from which to remove the directory as a | ||
* publisher.</p> | ||
*/ | ||
inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); } | ||
|
||
/** | ||
* <p>The name of the SNS topic from which to remove the directory as a | ||
* publisher.</p> | ||
*/ | ||
inline DeregisterEventTopicRequest& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;} | ||
|
||
/** | ||
* <p>The name of the SNS topic from which to remove the directory as a | ||
* publisher.</p> | ||
*/ | ||
inline DeregisterEventTopicRequest& WithTopicName(Aws::String&& value) { SetTopicName(value); return *this;} | ||
|
||
/** | ||
* <p>The name of the SNS topic from which to remove the directory as a | ||
* publisher.</p> | ||
*/ | ||
inline DeregisterEventTopicRequest& WithTopicName(const char* value) { SetTopicName(value); return *this;} | ||
|
||
private: | ||
Aws::String m_directoryId; | ||
bool m_directoryIdHasBeenSet; | ||
Aws::String m_topicName; | ||
bool m_topicNameHasBeenSet; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace DirectoryService | ||
} // namespace Aws |
45 changes: 45 additions & 0 deletions
45
aws-cpp-sdk-ds/include/aws/ds/model/DeregisterEventTopicResult.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
#pragma once | ||
#include <aws/ds/DirectoryService_EXPORTS.h> | ||
|
||
namespace Aws | ||
{ | ||
template<typename RESULT_TYPE> | ||
class AmazonWebServiceResult; | ||
|
||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace DirectoryService | ||
{ | ||
namespace Model | ||
{ | ||
class AWS_DIRECTORYSERVICE_API DeregisterEventTopicResult | ||
{ | ||
public: | ||
DeregisterEventTopicResult(); | ||
DeregisterEventTopicResult(const AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); | ||
DeregisterEventTopicResult& operator=(const AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); | ||
|
||
}; | ||
|
||
} // namespace Model | ||
} // namespace DirectoryService | ||
} // namespace Aws |
153 changes: 153 additions & 0 deletions
153
aws-cpp-sdk-ds/include/aws/ds/model/DescribeEventTopicsRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
/* | ||
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
#pragma once | ||
#include <aws/ds/DirectoryService_EXPORTS.h> | ||
#include <aws/ds/DirectoryServiceRequest.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <aws/core/utils/memory/stl/AWSVector.h> | ||
|
||
namespace Aws | ||
{ | ||
namespace DirectoryService | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
*/ | ||
class AWS_DIRECTORYSERVICE_API DescribeEventTopicsRequest : public DirectoryServiceRequest | ||
{ | ||
public: | ||
DescribeEventTopicsRequest(); | ||
Aws::String SerializePayload() const override; | ||
|
||
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; | ||
|
||
/** | ||
* <p>The Directory ID for which to get the list of associated SNS topics. If this | ||
* member is null, associations for all Directory IDs are returned.</p> | ||
*/ | ||
inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } | ||
|
||
/** | ||
* <p>The Directory ID for which to get the list of associated SNS topics. If this | ||
* member is null, associations for all Directory IDs are returned.</p> | ||
*/ | ||
inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } | ||
|
||
/** | ||
* <p>The Directory ID for which to get the list of associated SNS topics. If this | ||
* member is null, associations for all Directory IDs are returned.</p> | ||
*/ | ||
inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } | ||
|
||
/** | ||
* <p>The Directory ID for which to get the list of associated SNS topics. If this | ||
* member is null, associations for all Directory IDs are returned.</p> | ||
*/ | ||
inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } | ||
|
||
/** | ||
* <p>The Directory ID for which to get the list of associated SNS topics. If this | ||
* member is null, associations for all Directory IDs are returned.</p> | ||
*/ | ||
inline DescribeEventTopicsRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} | ||
|
||
/** | ||
* <p>The Directory ID for which to get the list of associated SNS topics. If this | ||
* member is null, associations for all Directory IDs are returned.</p> | ||
*/ | ||
inline DescribeEventTopicsRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(value); return *this;} | ||
|
||
/** | ||
* <p>The Directory ID for which to get the list of associated SNS topics. If this | ||
* member is null, associations for all Directory IDs are returned.</p> | ||
*/ | ||
inline DescribeEventTopicsRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} | ||
|
||
/** | ||
* <p>A list of SNS topic names for which to obtain the information. If this member | ||
* is null, all associations for the specified Directory ID are returned.</p> <p>An | ||
* empty list results in an <code>InvalidParameterException</code> being | ||
* thrown.</p> | ||
*/ | ||
inline const Aws::Vector<Aws::String>& GetTopicNames() const{ return m_topicNames; } | ||
|
||
/** | ||
* <p>A list of SNS topic names for which to obtain the information. If this member | ||
* is null, all associations for the specified Directory ID are returned.</p> <p>An | ||
* empty list results in an <code>InvalidParameterException</code> being | ||
* thrown.</p> | ||
*/ | ||
inline void SetTopicNames(const Aws::Vector<Aws::String>& value) { m_topicNamesHasBeenSet = true; m_topicNames = value; } | ||
|
||
/** | ||
* <p>A list of SNS topic names for which to obtain the information. If this member | ||
* is null, all associations for the specified Directory ID are returned.</p> <p>An | ||
* empty list results in an <code>InvalidParameterException</code> being | ||
* thrown.</p> | ||
*/ | ||
inline void SetTopicNames(Aws::Vector<Aws::String>&& value) { m_topicNamesHasBeenSet = true; m_topicNames = value; } | ||
|
||
/** | ||
* <p>A list of SNS topic names for which to obtain the information. If this member | ||
* is null, all associations for the specified Directory ID are returned.</p> <p>An | ||
* empty list results in an <code>InvalidParameterException</code> being | ||
* thrown.</p> | ||
*/ | ||
inline DescribeEventTopicsRequest& WithTopicNames(const Aws::Vector<Aws::String>& value) { SetTopicNames(value); return *this;} | ||
|
||
/** | ||
* <p>A list of SNS topic names for which to obtain the information. If this member | ||
* is null, all associations for the specified Directory ID are returned.</p> <p>An | ||
* empty list results in an <code>InvalidParameterException</code> being | ||
* thrown.</p> | ||
*/ | ||
inline DescribeEventTopicsRequest& WithTopicNames(Aws::Vector<Aws::String>&& value) { SetTopicNames(value); return *this;} | ||
|
||
/** | ||
* <p>A list of SNS topic names for which to obtain the information. If this member | ||
* is null, all associations for the specified Directory ID are returned.</p> <p>An | ||
* empty list results in an <code>InvalidParameterException</code> being | ||
* thrown.</p> | ||
*/ | ||
inline DescribeEventTopicsRequest& AddTopicNames(const Aws::String& value) { m_topicNamesHasBeenSet = true; m_topicNames.push_back(value); return *this; } | ||
|
||
/** | ||
* <p>A list of SNS topic names for which to obtain the information. If this member | ||
* is null, all associations for the specified Directory ID are returned.</p> <p>An | ||
* empty list results in an <code>InvalidParameterException</code> being | ||
* thrown.</p> | ||
*/ | ||
inline DescribeEventTopicsRequest& AddTopicNames(Aws::String&& value) { m_topicNamesHasBeenSet = true; m_topicNames.push_back(value); return *this; } | ||
|
||
/** | ||
* <p>A list of SNS topic names for which to obtain the information. If this member | ||
* is null, all associations for the specified Directory ID are returned.</p> <p>An | ||
* empty list results in an <code>InvalidParameterException</code> being | ||
* thrown.</p> | ||
*/ | ||
inline DescribeEventTopicsRequest& AddTopicNames(const char* value) { m_topicNamesHasBeenSet = true; m_topicNames.push_back(value); return *this; } | ||
|
||
private: | ||
Aws::String m_directoryId; | ||
bool m_directoryIdHasBeenSet; | ||
Aws::Vector<Aws::String> m_topicNames; | ||
bool m_topicNamesHasBeenSet; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace DirectoryService | ||
} // namespace Aws |
Oops, something went wrong.