AWS SDK for C++  1.9.123
AWS SDK for C++
ListDimensionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<Aws::String>& GetDimensionNames() const{ return m_dimensionNames; }
41 
46  inline void SetDimensionNames(const Aws::Vector<Aws::String>& value) { m_dimensionNames = value; }
47 
52  inline void SetDimensionNames(Aws::Vector<Aws::String>&& value) { m_dimensionNames = std::move(value); }
53 
58  inline ListDimensionsResult& WithDimensionNames(const Aws::Vector<Aws::String>& value) { SetDimensionNames(value); return *this;}
59 
64  inline ListDimensionsResult& WithDimensionNames(Aws::Vector<Aws::String>&& value) { SetDimensionNames(std::move(value)); return *this;}
65 
70  inline ListDimensionsResult& AddDimensionNames(const Aws::String& value) { m_dimensionNames.push_back(value); return *this; }
71 
76  inline ListDimensionsResult& AddDimensionNames(Aws::String&& value) { m_dimensionNames.push_back(std::move(value)); return *this; }
77 
82  inline ListDimensionsResult& AddDimensionNames(const char* value) { m_dimensionNames.push_back(value); return *this; }
83 
84 
89  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
90 
95  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
96 
101  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
102 
107  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
108 
113  inline ListDimensionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 
119  inline ListDimensionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
125  inline ListDimensionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
126 
127  private:
128 
129  Aws::Vector<Aws::String> m_dimensionNames;
130 
131  Aws::String m_nextToken;
132  };
133 
134 } // namespace Model
135 } // namespace IoT
136 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListDimensionsResult::WithNextToken
ListDimensionsResult & WithNextToken(const char *value)
Definition: ListDimensionsResult.h:125
Aws::IoT::Model::ListDimensionsResult
Definition: ListDimensionsResult.h:29
Aws::IoT::Model::ListDimensionsResult::GetDimensionNames
const Aws::Vector< Aws::String > & GetDimensionNames() const
Definition: ListDimensionsResult.h:40
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::ListDimensionsResult::WithNextToken
ListDimensionsResult & WithNextToken(const Aws::String &value)
Definition: ListDimensionsResult.h:113
Aws::IoT::Model::ListDimensionsResult::WithDimensionNames
ListDimensionsResult & WithDimensionNames(const Aws::Vector< Aws::String > &value)
Definition: ListDimensionsResult.h:58
AWSVector.h
Aws::IoT::Model::ListDimensionsResult::operator=
ListDimensionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListDimensionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDimensionsResult.h:101
Aws::IoT::Model::ListDimensionsResult::WithNextToken
ListDimensionsResult & WithNextToken(Aws::String &&value)
Definition: ListDimensionsResult.h:119
Aws::IoT::Model::ListDimensionsResult::ListDimensionsResult
ListDimensionsResult()
Aws::IoT::Model::ListDimensionsResult::SetDimensionNames
void SetDimensionNames(const Aws::Vector< Aws::String > &value)
Definition: ListDimensionsResult.h:46
AWSString.h
Aws::IoT::Model::ListDimensionsResult::AddDimensionNames
ListDimensionsResult & AddDimensionNames(const char *value)
Definition: ListDimensionsResult.h:82
Aws::IoT::Model::ListDimensionsResult::SetDimensionNames
void SetDimensionNames(Aws::Vector< Aws::String > &&value)
Definition: ListDimensionsResult.h:52
Aws::IoT::Model::ListDimensionsResult::WithDimensionNames
ListDimensionsResult & WithDimensionNames(Aws::Vector< Aws::String > &&value)
Definition: ListDimensionsResult.h:64
Aws::IoT::Model::ListDimensionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDimensionsResult.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListDimensionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDimensionsResult.h:107
Aws::IoT::Model::ListDimensionsResult::AddDimensionNames
ListDimensionsResult & AddDimensionNames(const Aws::String &value)
Definition: ListDimensionsResult.h:70
Aws::IoT::Model::ListDimensionsResult::ListDimensionsResult
ListDimensionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ListDimensionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDimensionsResult.h:89
Aws::IoT::Model::ListDimensionsResult::AddDimensionNames
ListDimensionsResult & AddDimensionNames(Aws::String &&value)
Definition: ListDimensionsResult.h:76
IoT_EXPORTS.h