AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddRegionAction.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSMIncidents
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SSMINCIDENTS_API AddRegionAction();
36 AWS_SSMINCIDENTS_API AddRegionAction(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SSMINCIDENTS_API AddRegionAction& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetRegionName() const{ return m_regionName; }
46 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
47 inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
48 inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
49 inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
50 inline AddRegionAction& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
51 inline AddRegionAction& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
52 inline AddRegionAction& WithRegionName(const char* value) { SetRegionName(value); return *this;}
54
56
59 inline const Aws::String& GetSseKmsKeyId() const{ return m_sseKmsKeyId; }
60 inline bool SseKmsKeyIdHasBeenSet() const { return m_sseKmsKeyIdHasBeenSet; }
61 inline void SetSseKmsKeyId(const Aws::String& value) { m_sseKmsKeyIdHasBeenSet = true; m_sseKmsKeyId = value; }
62 inline void SetSseKmsKeyId(Aws::String&& value) { m_sseKmsKeyIdHasBeenSet = true; m_sseKmsKeyId = std::move(value); }
63 inline void SetSseKmsKeyId(const char* value) { m_sseKmsKeyIdHasBeenSet = true; m_sseKmsKeyId.assign(value); }
64 inline AddRegionAction& WithSseKmsKeyId(const Aws::String& value) { SetSseKmsKeyId(value); return *this;}
65 inline AddRegionAction& WithSseKmsKeyId(Aws::String&& value) { SetSseKmsKeyId(std::move(value)); return *this;}
66 inline AddRegionAction& WithSseKmsKeyId(const char* value) { SetSseKmsKeyId(value); return *this;}
68 private:
69
70 Aws::String m_regionName;
71 bool m_regionNameHasBeenSet = false;
72
73 Aws::String m_sseKmsKeyId;
74 bool m_sseKmsKeyIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SSMIncidents
79} // namespace Aws
AddRegionAction & WithSseKmsKeyId(Aws::String &&value)
const Aws::String & GetRegionName() const
AWS_SSMINCIDENTS_API AddRegionAction(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API AddRegionAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AddRegionAction & WithRegionName(Aws::String &&value)
AddRegionAction & WithSseKmsKeyId(const Aws::String &value)
AddRegionAction & WithRegionName(const Aws::String &value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSseKmsKeyId() const
void SetSseKmsKeyId(const Aws::String &value)
void SetRegionName(const Aws::String &value)
AddRegionAction & WithRegionName(const char *value)
AddRegionAction & WithSseKmsKeyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue