AWS SDK for C++  1.9.131
AWS SDK for C++
GetServiceSettingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ssm/SSM_EXPORTS.h>
8 #include <aws/ssm/SSMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SSM
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetServiceSetting"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
51  inline const Aws::String& GetSettingId() const{ return m_settingId; }
52 
63  inline bool SettingIdHasBeenSet() const { return m_settingIdHasBeenSet; }
64 
75  inline void SetSettingId(const Aws::String& value) { m_settingIdHasBeenSet = true; m_settingId = value; }
76 
87  inline void SetSettingId(Aws::String&& value) { m_settingIdHasBeenSet = true; m_settingId = std::move(value); }
88 
99  inline void SetSettingId(const char* value) { m_settingIdHasBeenSet = true; m_settingId.assign(value); }
100 
111  inline GetServiceSettingRequest& WithSettingId(const Aws::String& value) { SetSettingId(value); return *this;}
112 
123  inline GetServiceSettingRequest& WithSettingId(Aws::String&& value) { SetSettingId(std::move(value)); return *this;}
124 
135  inline GetServiceSettingRequest& WithSettingId(const char* value) { SetSettingId(value); return *this;}
136 
137  private:
138 
139  Aws::String m_settingId;
140  bool m_settingIdHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace SSM
145 } // namespace Aws
Aws::SSM::Model::GetServiceSettingRequest::GetServiceSettingRequest
GetServiceSettingRequest()
Aws::SSM::Model::GetServiceSettingRequest::SettingIdHasBeenSet
bool SettingIdHasBeenSet() const
Definition: GetServiceSettingRequest.h:63
Aws::SSM::Model::GetServiceSettingRequest::SetSettingId
void SetSettingId(Aws::String &&value)
Definition: GetServiceSettingRequest.h:87
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSM::Model::GetServiceSettingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSM::Model::GetServiceSettingRequest::WithSettingId
GetServiceSettingRequest & WithSettingId(const char *value)
Definition: GetServiceSettingRequest.h:135
Aws::SSM::Model::GetServiceSettingRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SSM_API
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
Aws::SSM::Model::GetServiceSettingRequest
Definition: GetServiceSettingRequest.h:26
Aws::SSM::Model::GetServiceSettingRequest::SetSettingId
void SetSettingId(const Aws::String &value)
Definition: GetServiceSettingRequest.h:75
SSM_EXPORTS.h
Aws::SSM::Model::GetServiceSettingRequest::WithSettingId
GetServiceSettingRequest & WithSettingId(const Aws::String &value)
Definition: GetServiceSettingRequest.h:111
Aws::SSM::Model::GetServiceSettingRequest::WithSettingId
GetServiceSettingRequest & WithSettingId(Aws::String &&value)
Definition: GetServiceSettingRequest.h:123
Aws::SSM::Model::GetServiceSettingRequest::GetSettingId
const Aws::String & GetSettingId() const
Definition: GetServiceSettingRequest.h:51
AWSString.h
Aws::SMS::Model::AppValidationStrategy::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSM::SSMRequest
Definition: SSMRequest.h:17
Aws::SSM::Model::GetServiceSettingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetServiceSettingRequest.h:34
SSMRequest.h
Aws::SSM::Model::GetServiceSettingRequest::SetSettingId
void SetSettingId(const char *value)
Definition: GetServiceSettingRequest.h:99