AWS SDK for C++

AWS SDK for C++ Version 1.11.934

Loading...
Searching...
No Matches
ConformancePackScope.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConfigService {
20namespace Model {
21
33 public:
34 AWS_CONFIGSERVICE_API ConformancePackScope() = default;
35 AWS_CONFIGSERVICE_API ConformancePackScope(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline const Aws::String& GetTagKey() const { return m_tagKey; }
46 inline bool TagKeyHasBeenSet() const { return m_tagKeyHasBeenSet; }
47 template <typename TagKeyT = Aws::String>
48 void SetTagKey(TagKeyT&& value) {
49 m_tagKeyHasBeenSet = true;
50 m_tagKey = std::forward<TagKeyT>(value);
51 }
52 template <typename TagKeyT = Aws::String>
53 ConformancePackScope& WithTagKey(TagKeyT&& value) {
54 SetTagKey(std::forward<TagKeyT>(value));
55 return *this;
56 }
58
60
68 inline const Aws::String& GetTagValue() const { return m_tagValue; }
69 inline bool TagValueHasBeenSet() const { return m_tagValueHasBeenSet; }
70 template <typename TagValueT = Aws::String>
71 void SetTagValue(TagValueT&& value) {
72 m_tagValueHasBeenSet = true;
73 m_tagValue = std::forward<TagValueT>(value);
74 }
75 template <typename TagValueT = Aws::String>
76 ConformancePackScope& WithTagValue(TagValueT&& value) {
77 SetTagValue(std::forward<TagValueT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_tagKey;
83
84 Aws::String m_tagValue;
85 bool m_tagKeyHasBeenSet = false;
86 bool m_tagValueHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace ConfigService
91} // namespace Aws
ConformancePackScope & WithTagValue(TagValueT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConformancePackScope & WithTagKey(TagKeyT &&value)
AWS_CONFIGSERVICE_API ConformancePackScope()=default
AWS_CONFIGSERVICE_API ConformancePackScope & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API ConformancePackScope(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue