AWS SDK for C++

AWS SDK for C++ Version 1.11.847

Loading...
Searching...
No Matches
UpdateCloudConnectorRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/CloudConnectorConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SSM {
16namespace Model {
17
21 public:
22 AWS_SSM_API UpdateCloudConnectorRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateCloudConnector"; }
29
30 AWS_SSM_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetCloudConnectorId() const { return m_cloudConnectorId; }
39 inline bool CloudConnectorIdHasBeenSet() const { return m_cloudConnectorIdHasBeenSet; }
40 template <typename CloudConnectorIdT = Aws::String>
41 void SetCloudConnectorId(CloudConnectorIdT&& value) {
42 m_cloudConnectorIdHasBeenSet = true;
43 m_cloudConnectorId = std::forward<CloudConnectorIdT>(value);
44 }
45 template <typename CloudConnectorIdT = Aws::String>
47 SetCloudConnectorId(std::forward<CloudConnectorIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDisplayName() const { return m_displayName; }
57 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
58 template <typename DisplayNameT = Aws::String>
59 void SetDisplayName(DisplayNameT&& value) {
60 m_displayNameHasBeenSet = true;
61 m_displayName = std::forward<DisplayNameT>(value);
62 }
63 template <typename DisplayNameT = Aws::String>
65 SetDisplayName(std::forward<DisplayNameT>(value));
66 return *this;
67 }
69
71
75 inline const CloudConnectorConfiguration& GetConfiguration() const { return m_configuration; }
76 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
77 template <typename ConfigurationT = CloudConnectorConfiguration>
78 void SetConfiguration(ConfigurationT&& value) {
79 m_configurationHasBeenSet = true;
80 m_configuration = std::forward<ConfigurationT>(value);
81 }
82 template <typename ConfigurationT = CloudConnectorConfiguration>
84 SetConfiguration(std::forward<ConfigurationT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_cloudConnectorId;
108
109 Aws::String m_displayName;
110
111 CloudConnectorConfiguration m_configuration;
112
113 Aws::String m_description;
114 bool m_cloudConnectorIdHasBeenSet = false;
115 bool m_displayNameHasBeenSet = false;
116 bool m_configurationHasBeenSet = false;
117 bool m_descriptionHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace SSM
122} // namespace Aws
const CloudConnectorConfiguration & GetConfiguration() const
UpdateCloudConnectorRequest & WithDescription(DescriptionT &&value)
UpdateCloudConnectorRequest & WithConfiguration(ConfigurationT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
UpdateCloudConnectorRequest & WithDisplayName(DisplayNameT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateCloudConnectorRequest & WithCloudConnectorId(CloudConnectorIdT &&value)
AWS_SSM_API UpdateCloudConnectorRequest()=default
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String