AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MultiRegionKey.h
1
6#pragma once
7#include <aws/kms/KMS_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 KMS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_KMS_API MultiRegionKey();
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline MultiRegionKey& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline MultiRegionKey& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline MultiRegionKey& WithArn(const char* value) { SetArn(value); return *this;}
54
56
60 inline const Aws::String& GetRegion() const{ return m_region; }
61 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
62 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
63 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
64 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
65 inline MultiRegionKey& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
66 inline MultiRegionKey& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
67 inline MultiRegionKey& WithRegion(const char* value) { SetRegion(value); return *this;}
69 private:
70
71 Aws::String m_arn;
72 bool m_arnHasBeenSet = false;
73
74 Aws::String m_region;
75 bool m_regionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace KMS
80} // namespace Aws
AWS_KMS_API MultiRegionKey(Aws::Utils::Json::JsonView jsonValue)
MultiRegionKey & WithArn(const Aws::String &value)
void SetArn(Aws::String &&value)
const Aws::String & GetRegion() const
void SetRegion(Aws::String &&value)
AWS_KMS_API MultiRegionKey & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegion(const char *value)
MultiRegionKey & WithRegion(Aws::String &&value)
const Aws::String & GetArn() const
void SetArn(const char *value)
MultiRegionKey & WithRegion(const char *value)
MultiRegionKey & WithRegion(const Aws::String &value)
void SetArn(const Aws::String &value)
MultiRegionKey & WithArn(Aws::String &&value)
void SetRegion(const Aws::String &value)
AWS_KMS_API Aws::Utils::Json::JsonValue Jsonize() const
MultiRegionKey & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue