AWS SDK for C++  1.8.183
AWS SDK for C++
DescribeEnvironmentStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Cloud9
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeEnvironmentStatus"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
41 
45  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
46 
50  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
51 
55  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
56 
60  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
61 
65  inline DescribeEnvironmentStatusRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
66 
70  inline DescribeEnvironmentStatusRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
71 
75  inline DescribeEnvironmentStatusRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_environmentId;
80  bool m_environmentIdHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace Cloud9
85 } // namespace Aws
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::DescribeEnvironmentStatusRequest
DescribeEnvironmentStatusRequest()
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::SetEnvironmentId
void SetEnvironmentId(Aws::String &&value)
Definition: DescribeEnvironmentStatusRequest.h:55
AWS_CLOUD9_API
#define AWS_CLOUD9_API
Definition: Cloud9_EXPORTS.h:28
Cloud9Request.h
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::SetEnvironmentId
void SetEnvironmentId(const Aws::String &value)
Definition: DescribeEnvironmentStatusRequest.h:50
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::SetEnvironmentId
void SetEnvironmentId(const char *value)
Definition: DescribeEnvironmentStatusRequest.h:60
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::WithEnvironmentId
DescribeEnvironmentStatusRequest & WithEnvironmentId(Aws::String &&value)
Definition: DescribeEnvironmentStatusRequest.h:70
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::WithEnvironmentId
DescribeEnvironmentStatusRequest & WithEnvironmentId(const char *value)
Definition: DescribeEnvironmentStatusRequest.h:75
AWSString.h
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::WithEnvironmentId
DescribeEnvironmentStatusRequest & WithEnvironmentId(const Aws::String &value)
Definition: DescribeEnvironmentStatusRequest.h:65
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest
Definition: DescribeEnvironmentStatusRequest.h:22
Aws::Cloud9::Cloud9Request
Definition: Cloud9Request.h:17
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::GetEnvironmentId
const Aws::String & GetEnvironmentId() const
Definition: DescribeEnvironmentStatusRequest.h:40
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::EnvironmentIdHasBeenSet
bool EnvironmentIdHasBeenSet() const
Definition: DescribeEnvironmentStatusRequest.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeEnvironmentStatusRequest.h:30
Aws::Cloud9::Model::DescribeEnvironmentStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Cloud9_EXPORTS.h