AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAgentVersionsRequest.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opsworks/model/StackConfigurationManager.h>
11#include <utility>
12
13namespace Aws
14{
15namespace OpsWorks
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OPSWORKS_API DescribeAgentVersionsRequest();
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_OPSWORKS_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetStackId() const{ return m_stackId; }
43 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
44 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
45 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
46 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
47 inline DescribeAgentVersionsRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
48 inline DescribeAgentVersionsRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
49 inline DescribeAgentVersionsRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
51
53
56 inline const StackConfigurationManager& GetConfigurationManager() const{ return m_configurationManager; }
57 inline bool ConfigurationManagerHasBeenSet() const { return m_configurationManagerHasBeenSet; }
58 inline void SetConfigurationManager(const StackConfigurationManager& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = value; }
59 inline void SetConfigurationManager(StackConfigurationManager&& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = std::move(value); }
63 private:
64
65 Aws::String m_stackId;
66 bool m_stackIdHasBeenSet = false;
67
68 StackConfigurationManager m_configurationManager;
69 bool m_configurationManagerHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace OpsWorks
74} // namespace Aws
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeAgentVersionsRequest & WithStackId(Aws::String &&value)
const StackConfigurationManager & GetConfigurationManager() const
void SetConfigurationManager(const StackConfigurationManager &value)
DescribeAgentVersionsRequest & WithConfigurationManager(StackConfigurationManager &&value)
DescribeAgentVersionsRequest & WithConfigurationManager(const StackConfigurationManager &value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
void SetConfigurationManager(StackConfigurationManager &&value)
DescribeAgentVersionsRequest & WithStackId(const char *value)
DescribeAgentVersionsRequest & WithStackId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String