AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeDimensionResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/DimensionType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoT
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOT_API DescribeDimensionResult() = default;
36
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 template<typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
45 template<typename NameT = Aws::String>
46 DescribeDimensionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template<typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
56 template<typename ArnT = Aws::String>
57 DescribeDimensionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
59
61
64 inline DimensionType GetType() const { return m_type; }
65 inline void SetType(DimensionType value) { m_typeHasBeenSet = true; m_type = value; }
66 inline DescribeDimensionResult& WithType(DimensionType value) { SetType(value); return *this;}
68
70
74 inline const Aws::Vector<Aws::String>& GetStringValues() const { return m_stringValues; }
75 template<typename StringValuesT = Aws::Vector<Aws::String>>
76 void SetStringValues(StringValuesT&& value) { m_stringValuesHasBeenSet = true; m_stringValues = std::forward<StringValuesT>(value); }
77 template<typename StringValuesT = Aws::Vector<Aws::String>>
78 DescribeDimensionResult& WithStringValues(StringValuesT&& value) { SetStringValues(std::forward<StringValuesT>(value)); return *this;}
79 template<typename StringValuesT = Aws::String>
80 DescribeDimensionResult& AddStringValues(StringValuesT&& value) { m_stringValuesHasBeenSet = true; m_stringValues.emplace_back(std::forward<StringValuesT>(value)); return *this; }
82
84
87 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
88 template<typename CreationDateT = Aws::Utils::DateTime>
89 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
90 template<typename CreationDateT = Aws::Utils::DateTime>
91 DescribeDimensionResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
99 template<typename LastModifiedDateT = Aws::Utils::DateTime>
100 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
101 template<typename LastModifiedDateT = Aws::Utils::DateTime>
102 DescribeDimensionResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template<typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
110 template<typename RequestIdT = Aws::String>
111 DescribeDimensionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
113 private:
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 Aws::String m_arn;
119 bool m_arnHasBeenSet = false;
120
122 bool m_typeHasBeenSet = false;
123
124 Aws::Vector<Aws::String> m_stringValues;
125 bool m_stringValuesHasBeenSet = false;
126
127 Aws::Utils::DateTime m_creationDate{};
128 bool m_creationDateHasBeenSet = false;
129
130 Aws::Utils::DateTime m_lastModifiedDate{};
131 bool m_lastModifiedDateHasBeenSet = false;
132
133 Aws::String m_requestId;
134 bool m_requestIdHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace IoT
139} // namespace Aws
DescribeDimensionResult & AddStringValues(StringValuesT &&value)
DescribeDimensionResult & WithLastModifiedDate(LastModifiedDateT &&value)
const Aws::Vector< Aws::String > & GetStringValues() const
AWS_IOT_API DescribeDimensionResult()=default
DescribeDimensionResult & WithRequestId(RequestIdT &&value)
DescribeDimensionResult & WithType(DimensionType value)
DescribeDimensionResult & WithName(NameT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
DescribeDimensionResult & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
AWS_IOT_API DescribeDimensionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastModifiedDate() const
DescribeDimensionResult & WithStringValues(StringValuesT &&value)
DescribeDimensionResult & WithCreationDate(CreationDateT &&value)
AWS_IOT_API DescribeDimensionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue