AWS SDK for C++  1.8.183
AWS SDK for C++
DescribeEnvironmentsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Cloud9
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeEnvironments"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::Vector<Aws::String>& GetEnvironmentIds() const{ return m_environmentIds; }
42 
46  inline bool EnvironmentIdsHasBeenSet() const { return m_environmentIdsHasBeenSet; }
47 
51  inline void SetEnvironmentIds(const Aws::Vector<Aws::String>& value) { m_environmentIdsHasBeenSet = true; m_environmentIds = value; }
52 
56  inline void SetEnvironmentIds(Aws::Vector<Aws::String>&& value) { m_environmentIdsHasBeenSet = true; m_environmentIds = std::move(value); }
57 
61  inline DescribeEnvironmentsRequest& WithEnvironmentIds(const Aws::Vector<Aws::String>& value) { SetEnvironmentIds(value); return *this;}
62 
66  inline DescribeEnvironmentsRequest& WithEnvironmentIds(Aws::Vector<Aws::String>&& value) { SetEnvironmentIds(std::move(value)); return *this;}
67 
71  inline DescribeEnvironmentsRequest& AddEnvironmentIds(const Aws::String& value) { m_environmentIdsHasBeenSet = true; m_environmentIds.push_back(value); return *this; }
72 
76  inline DescribeEnvironmentsRequest& AddEnvironmentIds(Aws::String&& value) { m_environmentIdsHasBeenSet = true; m_environmentIds.push_back(std::move(value)); return *this; }
77 
81  inline DescribeEnvironmentsRequest& AddEnvironmentIds(const char* value) { m_environmentIdsHasBeenSet = true; m_environmentIds.push_back(value); return *this; }
82 
83  private:
84 
85  Aws::Vector<Aws::String> m_environmentIds;
86  bool m_environmentIdsHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace Cloud9
91 } // namespace Aws
Aws::Cloud9::Model::DescribeEnvironmentsRequest
Definition: DescribeEnvironmentsRequest.h:23
Aws::Cloud9::Model::DescribeEnvironmentsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_CLOUD9_API
#define AWS_CLOUD9_API
Definition: Cloud9_EXPORTS.h:28
Aws::Cloud9::Model::DescribeEnvironmentsRequest::SetEnvironmentIds
void SetEnvironmentIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeEnvironmentsRequest.h:51
Cloud9Request.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Cloud9::Model::DescribeEnvironmentsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeEnvironmentsRequest.h:31
AWSVector.h
Aws::Cloud9::Model::DescribeEnvironmentsRequest::AddEnvironmentIds
DescribeEnvironmentsRequest & AddEnvironmentIds(const char *value)
Definition: DescribeEnvironmentsRequest.h:81
Aws::Cloud9::Model::DescribeEnvironmentsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Cloud9::Model::DescribeEnvironmentsRequest::SetEnvironmentIds
void SetEnvironmentIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeEnvironmentsRequest.h:56
Aws::Cloud9::Model::DescribeEnvironmentsRequest::WithEnvironmentIds
DescribeEnvironmentsRequest & WithEnvironmentIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeEnvironmentsRequest.h:61
Aws::Cloud9::Model::DescribeEnvironmentsRequest::EnvironmentIdsHasBeenSet
bool EnvironmentIdsHasBeenSet() const
Definition: DescribeEnvironmentsRequest.h:46
AWSString.h
Aws::Cloud9::Cloud9Request
Definition: Cloud9Request.h:17
Aws::Cloud9::Model::DescribeEnvironmentsRequest::WithEnvironmentIds
DescribeEnvironmentsRequest & WithEnvironmentIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeEnvironmentsRequest.h:66
Aws::Cloud9::Model::DescribeEnvironmentsRequest::AddEnvironmentIds
DescribeEnvironmentsRequest & AddEnvironmentIds(const Aws::String &value)
Definition: DescribeEnvironmentsRequest.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::Cloud9::Model::DescribeEnvironmentsRequest::AddEnvironmentIds
DescribeEnvironmentsRequest & AddEnvironmentIds(Aws::String &&value)
Definition: DescribeEnvironmentsRequest.h:76
Aws::Cloud9::Model::DescribeEnvironmentsRequest::DescribeEnvironmentsRequest
DescribeEnvironmentsRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Cloud9::Model::DescribeEnvironmentsRequest::GetEnvironmentIds
const Aws::Vector< Aws::String > & GetEnvironmentIds() const
Definition: DescribeEnvironmentsRequest.h:41
Cloud9_EXPORTS.h