AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceSettingRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SSM
15{
16namespace 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 "UpdateServiceSetting"; }
35
36 AWS_SSM_API Aws::String SerializePayload() const override;
37
39
40
42
60 inline const Aws::String& GetSettingId() const{ return m_settingId; }
61 inline bool SettingIdHasBeenSet() const { return m_settingIdHasBeenSet; }
62 inline void SetSettingId(const Aws::String& value) { m_settingIdHasBeenSet = true; m_settingId = value; }
63 inline void SetSettingId(Aws::String&& value) { m_settingIdHasBeenSet = true; m_settingId = std::move(value); }
64 inline void SetSettingId(const char* value) { m_settingIdHasBeenSet = true; m_settingId.assign(value); }
65 inline UpdateServiceSettingRequest& WithSettingId(const Aws::String& value) { SetSettingId(value); return *this;}
66 inline UpdateServiceSettingRequest& WithSettingId(Aws::String&& value) { SetSettingId(std::move(value)); return *this;}
67 inline UpdateServiceSettingRequest& WithSettingId(const char* value) { SetSettingId(value); return *this;}
69
71
92 inline const Aws::String& GetSettingValue() const{ return m_settingValue; }
93 inline bool SettingValueHasBeenSet() const { return m_settingValueHasBeenSet; }
94 inline void SetSettingValue(const Aws::String& value) { m_settingValueHasBeenSet = true; m_settingValue = value; }
95 inline void SetSettingValue(Aws::String&& value) { m_settingValueHasBeenSet = true; m_settingValue = std::move(value); }
96 inline void SetSettingValue(const char* value) { m_settingValueHasBeenSet = true; m_settingValue.assign(value); }
97 inline UpdateServiceSettingRequest& WithSettingValue(const Aws::String& value) { SetSettingValue(value); return *this;}
98 inline UpdateServiceSettingRequest& WithSettingValue(Aws::String&& value) { SetSettingValue(std::move(value)); return *this;}
99 inline UpdateServiceSettingRequest& WithSettingValue(const char* value) { SetSettingValue(value); return *this;}
101 private:
102
103 Aws::String m_settingId;
104 bool m_settingIdHasBeenSet = false;
105
106 Aws::String m_settingValue;
107 bool m_settingValueHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SSM
112} // namespace Aws
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateServiceSettingRequest & WithSettingId(const char *value)
UpdateServiceSettingRequest & WithSettingValue(Aws::String &&value)
UpdateServiceSettingRequest & WithSettingId(Aws::String &&value)
UpdateServiceSettingRequest & WithSettingValue(const char *value)
UpdateServiceSettingRequest & WithSettingId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateServiceSettingRequest & WithSettingValue(const Aws::String &value)
AWS_SSM_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String