AWS SDK for C++  1.8.76
AWS SDK for C++
ResetServiceSettingRequest.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 "ResetServiceSetting"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
48  inline const Aws::String& GetSettingId() const{ return m_settingId; }
49 
57  inline bool SettingIdHasBeenSet() const { return m_settingIdHasBeenSet; }
58 
66  inline void SetSettingId(const Aws::String& value) { m_settingIdHasBeenSet = true; m_settingId = value; }
67 
75  inline void SetSettingId(Aws::String&& value) { m_settingIdHasBeenSet = true; m_settingId = std::move(value); }
76 
84  inline void SetSettingId(const char* value) { m_settingIdHasBeenSet = true; m_settingId.assign(value); }
85 
93  inline ResetServiceSettingRequest& WithSettingId(const Aws::String& value) { SetSettingId(value); return *this;}
94 
102  inline ResetServiceSettingRequest& WithSettingId(Aws::String&& value) { SetSettingId(std::move(value)); return *this;}
103 
111  inline ResetServiceSettingRequest& WithSettingId(const char* value) { SetSettingId(value); return *this;}
112 
113  private:
114 
115  Aws::String m_settingId;
116  bool m_settingIdHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace SSM
121 } // namespace Aws
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ResetServiceSettingRequest & WithSettingId(const Aws::String &value)
ResetServiceSettingRequest & WithSettingId(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_SSM_API
Definition: SSM_EXPORTS.h:28
ResetServiceSettingRequest & WithSettingId(Aws::String &&value)