AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline void SetName(const Aws::String& value) { m_name = value; }
44 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
45 inline void SetName(const char* value) { m_name.assign(value); }
46 inline DescribeDimensionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline DescribeDimensionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline DescribeDimensionResult& WithName(const char* value) { SetName(value); return *this;}
50
52
55 inline const Aws::String& GetArn() const{ return m_arn; }
56 inline void SetArn(const Aws::String& value) { m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arn.assign(value); }
59 inline DescribeDimensionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline DescribeDimensionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline DescribeDimensionResult& WithArn(const char* value) { SetArn(value); return *this;}
63
65
68 inline const DimensionType& GetType() const{ return m_type; }
69 inline void SetType(const DimensionType& value) { m_type = value; }
70 inline void SetType(DimensionType&& value) { m_type = std::move(value); }
71 inline DescribeDimensionResult& WithType(const DimensionType& value) { SetType(value); return *this;}
72 inline DescribeDimensionResult& WithType(DimensionType&& value) { SetType(std::move(value)); return *this;}
74
76
80 inline const Aws::Vector<Aws::String>& GetStringValues() const{ return m_stringValues; }
81 inline void SetStringValues(const Aws::Vector<Aws::String>& value) { m_stringValues = value; }
82 inline void SetStringValues(Aws::Vector<Aws::String>&& value) { m_stringValues = std::move(value); }
84 inline DescribeDimensionResult& WithStringValues(Aws::Vector<Aws::String>&& value) { SetStringValues(std::move(value)); return *this;}
85 inline DescribeDimensionResult& AddStringValues(const Aws::String& value) { m_stringValues.push_back(value); return *this; }
86 inline DescribeDimensionResult& AddStringValues(Aws::String&& value) { m_stringValues.push_back(std::move(value)); return *this; }
87 inline DescribeDimensionResult& AddStringValues(const char* value) { m_stringValues.push_back(value); return *this; }
89
91
94 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
95 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
96 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
98 inline DescribeDimensionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
106 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
107 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
111
113
114 inline const Aws::String& GetRequestId() const{ return m_requestId; }
115 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
116 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
117 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
118 inline DescribeDimensionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
119 inline DescribeDimensionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
120 inline DescribeDimensionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
122 private:
123
124 Aws::String m_name;
125
126 Aws::String m_arn;
127
128 DimensionType m_type;
129
130 Aws::Vector<Aws::String> m_stringValues;
131
132 Aws::Utils::DateTime m_creationDate;
133
134 Aws::Utils::DateTime m_lastModifiedDate;
135
136 Aws::String m_requestId;
137 };
138
139} // namespace Model
140} // namespace IoT
141} // namespace Aws
DescribeDimensionResult & AddStringValues(const Aws::String &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeDimensionResult & WithStringValues(const Aws::Vector< Aws::String > &value)
DescribeDimensionResult & WithArn(const Aws::String &value)
DescribeDimensionResult & WithRequestId(const char *value)
DescribeDimensionResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeDimensionResult & WithArn(Aws::String &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
void SetStringValues(Aws::Vector< Aws::String > &&value)
DescribeDimensionResult & AddStringValues(const char *value)
DescribeDimensionResult & WithCreationDate(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetStringValues() const
DescribeDimensionResult & AddStringValues(Aws::String &&value)
DescribeDimensionResult & WithStringValues(Aws::Vector< Aws::String > &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
DescribeDimensionResult & WithName(Aws::String &&value)
DescribeDimensionResult & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDate() const
DescribeDimensionResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
AWS_IOT_API DescribeDimensionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDimensionResult & WithType(DimensionType &&value)
void SetStringValues(const Aws::Vector< Aws::String > &value)
DescribeDimensionResult & WithRequestId(Aws::String &&value)
DescribeDimensionResult & WithName(const char *value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
DescribeDimensionResult & WithCreationDate(const Aws::Utils::DateTime &value)
AWS_IOT_API DescribeDimensionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationDate(Aws::Utils::DateTime &&value)
DescribeDimensionResult & WithType(const DimensionType &value)
DescribeDimensionResult & WithArn(const char *value)
DescribeDimensionResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue