AWS SDK for C++  1.8.129
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 
47  inline const Aws::String& GetSettingId() const{ return m_settingId; }
48 
55  inline bool SettingIdHasBeenSet() const { return m_settingIdHasBeenSet; }
56 
63  inline void SetSettingId(const Aws::String& value) { m_settingIdHasBeenSet = true; m_settingId = value; }
64 
71  inline void SetSettingId(Aws::String&& value) { m_settingIdHasBeenSet = true; m_settingId = std::move(value); }
72 
79  inline void SetSettingId(const char* value) { m_settingIdHasBeenSet = true; m_settingId.assign(value); }
80 
87  inline GetServiceSettingRequest& WithSettingId(const Aws::String& value) { SetSettingId(value); return *this;}
88 
95  inline GetServiceSettingRequest& WithSettingId(Aws::String&& value) { SetSettingId(std::move(value)); return *this;}
96 
103  inline GetServiceSettingRequest& WithSettingId(const char* value) { SetSettingId(value); return *this;}
104 
105  private:
106 
107  Aws::String m_settingId;
108  bool m_settingIdHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace SSM
113 } // namespace Aws
Aws::SSM::Model::GetServiceSettingRequest::GetServiceSettingRequest
GetServiceSettingRequest()
Aws::SSM::Model::GetServiceSettingRequest::SettingIdHasBeenSet
bool SettingIdHasBeenSet() const
Definition: GetServiceSettingRequest.h:55
Aws::SSM::Model::GetServiceSettingRequest::SetSettingId
void SetSettingId(Aws::String &&value)
Definition: GetServiceSettingRequest.h:71
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:103
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:63
SSM_EXPORTS.h
Aws::SSM::Model::GetServiceSettingRequest::WithSettingId
GetServiceSettingRequest & WithSettingId(const Aws::String &value)
Definition: GetServiceSettingRequest.h:87
Aws::SSM::Model::GetServiceSettingRequest::WithSettingId
GetServiceSettingRequest & WithSettingId(Aws::String &&value)
Definition: GetServiceSettingRequest.h:95
Aws::SSM::Model::GetServiceSettingRequest::GetSettingId
const Aws::String & GetSettingId() const
Definition: GetServiceSettingRequest.h:47
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:79