AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceLevelObjectiveSummary.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ApplicationSignals
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveSummary();
38 AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline ServiceLevelObjectiveSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ServiceLevelObjectiveSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ServiceLevelObjectiveSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline ServiceLevelObjectiveSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline ServiceLevelObjectiveSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline ServiceLevelObjectiveSummary& WithName(const char* value) { SetName(value); return *this;}
70
72
88 inline const Aws::Map<Aws::String, Aws::String>& GetKeyAttributes() const{ return m_keyAttributes; }
89 inline bool KeyAttributesHasBeenSet() const { return m_keyAttributesHasBeenSet; }
90 inline void SetKeyAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes = value; }
91 inline void SetKeyAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes = std::move(value); }
94 inline ServiceLevelObjectiveSummary& AddKeyAttributes(const Aws::String& key, const Aws::String& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(key, value); return *this; }
95 inline ServiceLevelObjectiveSummary& AddKeyAttributes(Aws::String&& key, const Aws::String& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(std::move(key), value); return *this; }
96 inline ServiceLevelObjectiveSummary& AddKeyAttributes(const Aws::String& key, Aws::String&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(key, std::move(value)); return *this; }
97 inline ServiceLevelObjectiveSummary& AddKeyAttributes(Aws::String&& key, Aws::String&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(std::move(key), std::move(value)); return *this; }
98 inline ServiceLevelObjectiveSummary& AddKeyAttributes(const char* key, Aws::String&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(key, std::move(value)); return *this; }
99 inline ServiceLevelObjectiveSummary& AddKeyAttributes(Aws::String&& key, const char* value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(std::move(key), value); return *this; }
100 inline ServiceLevelObjectiveSummary& AddKeyAttributes(const char* key, const char* value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(key, value); return *this; }
102
104
108 inline const Aws::String& GetOperationName() const{ return m_operationName; }
109 inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
110 inline void SetOperationName(const Aws::String& value) { m_operationNameHasBeenSet = true; m_operationName = value; }
111 inline void SetOperationName(Aws::String&& value) { m_operationNameHasBeenSet = true; m_operationName = std::move(value); }
112 inline void SetOperationName(const char* value) { m_operationNameHasBeenSet = true; m_operationName.assign(value); }
113 inline ServiceLevelObjectiveSummary& WithOperationName(const Aws::String& value) { SetOperationName(value); return *this;}
114 inline ServiceLevelObjectiveSummary& WithOperationName(Aws::String&& value) { SetOperationName(std::move(value)); return *this;}
115 inline ServiceLevelObjectiveSummary& WithOperationName(const char* value) { SetOperationName(value); return *this;}
117
119
123 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
124 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
125 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
126 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
128 inline ServiceLevelObjectiveSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
130 private:
131
132 Aws::String m_arn;
133 bool m_arnHasBeenSet = false;
134
135 Aws::String m_name;
136 bool m_nameHasBeenSet = false;
137
139 bool m_keyAttributesHasBeenSet = false;
140
141 Aws::String m_operationName;
142 bool m_operationNameHasBeenSet = false;
143
144 Aws::Utils::DateTime m_createdTime;
145 bool m_createdTimeHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace ApplicationSignals
150} // namespace Aws
void SetKeyAttributes(Aws::Map< Aws::String, Aws::String > &&value)
ServiceLevelObjectiveSummary & WithArn(const Aws::String &value)
ServiceLevelObjectiveSummary & AddKeyAttributes(const Aws::String &key, Aws::String &&value)
ServiceLevelObjectiveSummary & WithKeyAttributes(Aws::Map< Aws::String, Aws::String > &&value)
ServiceLevelObjectiveSummary & AddKeyAttributes(const Aws::String &key, const Aws::String &value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
ServiceLevelObjectiveSummary & AddKeyAttributes(Aws::String &&key, const Aws::String &value)
ServiceLevelObjectiveSummary & AddKeyAttributes(const char *key, Aws::String &&value)
ServiceLevelObjectiveSummary & WithOperationName(const char *value)
ServiceLevelObjectiveSummary & WithArn(Aws::String &&value)
ServiceLevelObjectiveSummary & WithOperationName(Aws::String &&value)
ServiceLevelObjectiveSummary & AddKeyAttributes(Aws::String &&key, const char *value)
ServiceLevelObjectiveSummary & WithKeyAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetKeyAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ServiceLevelObjectiveSummary & AddKeyAttributes(Aws::String &&key, Aws::String &&value)
ServiceLevelObjectiveSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
ServiceLevelObjectiveSummary & WithName(Aws::String &&value)
ServiceLevelObjectiveSummary & WithName(const char *value)
ServiceLevelObjectiveSummary & WithName(const Aws::String &value)
ServiceLevelObjectiveSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
ServiceLevelObjectiveSummary & WithArn(const char *value)
ServiceLevelObjectiveSummary & WithOperationName(const Aws::String &value)
ServiceLevelObjectiveSummary & AddKeyAttributes(const char *key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue