AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeAgentVersionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace OpsWorks
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 "DescribeAgentVersions"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetStackId() const{ return m_stackId; }
42 
46  inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
47 
51  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
52 
56  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
57 
61  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
62 
66  inline DescribeAgentVersionsRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
67 
71  inline DescribeAgentVersionsRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
72 
76  inline DescribeAgentVersionsRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
77 
78 
82  inline const StackConfigurationManager& GetConfigurationManager() const{ return m_configurationManager; }
83 
87  inline bool ConfigurationManagerHasBeenSet() const { return m_configurationManagerHasBeenSet; }
88 
92  inline void SetConfigurationManager(const StackConfigurationManager& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = value; }
93 
97  inline void SetConfigurationManager(StackConfigurationManager&& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = std::move(value); }
98 
102  inline DescribeAgentVersionsRequest& WithConfigurationManager(const StackConfigurationManager& value) { SetConfigurationManager(value); return *this;}
103 
107  inline DescribeAgentVersionsRequest& WithConfigurationManager(StackConfigurationManager&& value) { SetConfigurationManager(std::move(value)); return *this;}
108 
109  private:
110 
111  Aws::String m_stackId;
112  bool m_stackIdHasBeenSet;
113 
114  StackConfigurationManager m_configurationManager;
115  bool m_configurationManagerHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace OpsWorks
120 } // namespace Aws
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::WithConfigurationManager
DescribeAgentVersionsRequest & WithConfigurationManager(const StackConfigurationManager &value)
Definition: DescribeAgentVersionsRequest.h:102
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::StackIdHasBeenSet
bool StackIdHasBeenSet() const
Definition: DescribeAgentVersionsRequest.h:46
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::SetConfigurationManager
void SetConfigurationManager(StackConfigurationManager &&value)
Definition: DescribeAgentVersionsRequest.h:97
StackConfigurationManager.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::SetConfigurationManager
void SetConfigurationManager(const StackConfigurationManager &value)
Definition: DescribeAgentVersionsRequest.h:92
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::GetStackId
const Aws::String & GetStackId() const
Definition: DescribeAgentVersionsRequest.h:41
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::DescribeAgentVersionsRequest
DescribeAgentVersionsRequest()
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::GetConfigurationManager
const StackConfigurationManager & GetConfigurationManager() const
Definition: DescribeAgentVersionsRequest.h:82
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::ConfigurationManagerHasBeenSet
bool ConfigurationManagerHasBeenSet() const
Definition: DescribeAgentVersionsRequest.h:87
Aws::OpsWorks::Model::StackConfigurationManager
Definition: StackConfigurationManager.h:32
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
OpsWorksRequest.h
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAgentVersionsRequest.h:31
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::WithStackId
DescribeAgentVersionsRequest & WithStackId(const char *value)
Definition: DescribeAgentVersionsRequest.h:76
AWSString.h
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::SetStackId
void SetStackId(const Aws::String &value)
Definition: DescribeAgentVersionsRequest.h:51
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::SetStackId
void SetStackId(const char *value)
Definition: DescribeAgentVersionsRequest.h:61
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::WithConfigurationManager
DescribeAgentVersionsRequest & WithConfigurationManager(StackConfigurationManager &&value)
Definition: DescribeAgentVersionsRequest.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::WithStackId
DescribeAgentVersionsRequest & WithStackId(const Aws::String &value)
Definition: DescribeAgentVersionsRequest.h:66
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::SetStackId
void SetStackId(Aws::String &&value)
Definition: DescribeAgentVersionsRequest.h:56
Aws::OpsWorks::Model::DescribeAgentVersionsRequest::WithStackId
DescribeAgentVersionsRequest & WithStackId(Aws::String &&value)
Definition: DescribeAgentVersionsRequest.h:71
Aws::OpsWorks::Model::DescribeAgentVersionsRequest
Definition: DescribeAgentVersionsRequest.h:23