Skip to content

Commit

Permalink
Added support for referencing security groups in peered Virtual Priva…
Browse files Browse the repository at this point in the history
…te Clouds. Added support for SNS notifications on directorieis.
  • Loading branch information
JonathanHenson committed Mar 4, 2016
1 parent 79749d8 commit 3f84fee
Show file tree
Hide file tree
Showing 50 changed files with 2,745 additions and 604 deletions.
2 changes: 1 addition & 1 deletion aws-cpp-sdk-core/include/aws/core/VersionConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
* permissions and limitations under the License.
*/

#define AWS_SDK_VERSION_STRING "0.9.6-65-g3769637"
#define AWS_SDK_VERSION_STRING "0.9.6-66-g79749d8"
114 changes: 108 additions & 6 deletions aws-cpp-sdk-ds/include/aws/ds/DirectoryServiceClient.h

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions aws-cpp-sdk-ds/include/aws/ds/model/CreateSnapshotRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,37 +36,37 @@ namespace Model
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;

/**
* <p>The identifier of the directory to take a snapshot of.</p>
* <p>The identifier of the directory of which to take a snapshot.</p>
*/
inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }

/**
* <p>The identifier of the directory to take a snapshot of.</p>
* <p>The identifier of the directory of which to take a snapshot.</p>
*/
inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }

/**
* <p>The identifier of the directory to take a snapshot of.</p>
* <p>The identifier of the directory of which to take a snapshot.</p>
*/
inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }

/**
* <p>The identifier of the directory to take a snapshot of.</p>
* <p>The identifier of the directory of which to take a snapshot.</p>
*/
inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }

/**
* <p>The identifier of the directory to take a snapshot of.</p>
* <p>The identifier of the directory of which to take a snapshot.</p>
*/
inline CreateSnapshotRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}

/**
* <p>The identifier of the directory to take a snapshot of.</p>
* <p>The identifier of the directory of which to take a snapshot.</p>
*/
inline CreateSnapshotRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(value); return *this;}

/**
* <p>The identifier of the directory to take a snapshot of.</p>
* <p>The identifier of the directory of which to take a snapshot.</p>
*/
inline CreateSnapshotRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}

Expand Down
132 changes: 132 additions & 0 deletions aws-cpp-sdk-ds/include/aws/ds/model/DeregisterEventTopicRequest.h
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 aws-cpp-sdk-ds/include/aws/ds/model/DeregisterEventTopicResult.h
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 aws-cpp-sdk-ds/include/aws/ds/model/DescribeEventTopicsRequest.h
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
Loading

0 comments on commit 3f84fee

Please sign in to comment.