AWS SDK for C++  1.9.123
AWS SDK for C++
ListV2LoggingLevelsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoT
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<LogTargetConfiguration>& GetLogTargetConfigurations() const{ return m_logTargetConfigurations; }
41 
45  inline void SetLogTargetConfigurations(const Aws::Vector<LogTargetConfiguration>& value) { m_logTargetConfigurations = value; }
46 
50  inline void SetLogTargetConfigurations(Aws::Vector<LogTargetConfiguration>&& value) { m_logTargetConfigurations = std::move(value); }
51 
55  inline ListV2LoggingLevelsResult& WithLogTargetConfigurations(const Aws::Vector<LogTargetConfiguration>& value) { SetLogTargetConfigurations(value); return *this;}
56 
60  inline ListV2LoggingLevelsResult& WithLogTargetConfigurations(Aws::Vector<LogTargetConfiguration>&& value) { SetLogTargetConfigurations(std::move(value)); return *this;}
61 
65  inline ListV2LoggingLevelsResult& AddLogTargetConfigurations(const LogTargetConfiguration& value) { m_logTargetConfigurations.push_back(value); return *this; }
66 
70  inline ListV2LoggingLevelsResult& AddLogTargetConfigurations(LogTargetConfiguration&& value) { m_logTargetConfigurations.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListV2LoggingLevelsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListV2LoggingLevelsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListV2LoggingLevelsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<LogTargetConfiguration> m_logTargetConfigurations;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace IoT
124 } // namespace Aws
Aws::IoT::Model::ListV2LoggingLevelsResult::operator=
ListV2LoggingLevelsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListV2LoggingLevelsResult::SetLogTargetConfigurations
void SetLogTargetConfigurations(const Aws::Vector< LogTargetConfiguration > &value)
Definition: ListV2LoggingLevelsResult.h:45
Aws::IoT::Model::ListV2LoggingLevelsResult::GetLogTargetConfigurations
const Aws::Vector< LogTargetConfiguration > & GetLogTargetConfigurations() const
Definition: ListV2LoggingLevelsResult.h:40
Aws::IoT::Model::ListV2LoggingLevelsResult::AddLogTargetConfigurations
ListV2LoggingLevelsResult & AddLogTargetConfigurations(const LogTargetConfiguration &value)
Definition: ListV2LoggingLevelsResult.h:65
Aws::IoT::Model::ListV2LoggingLevelsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListV2LoggingLevelsResult.h:83
Aws::IoT::Model::ListV2LoggingLevelsResult::ListV2LoggingLevelsResult
ListV2LoggingLevelsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::ListV2LoggingLevelsResult::AddLogTargetConfigurations
ListV2LoggingLevelsResult & AddLogTargetConfigurations(LogTargetConfiguration &&value)
Definition: ListV2LoggingLevelsResult.h:70
AWSVector.h
Aws::IoT::Model::ListV2LoggingLevelsResult::WithLogTargetConfigurations
ListV2LoggingLevelsResult & WithLogTargetConfigurations(const Aws::Vector< LogTargetConfiguration > &value)
Definition: ListV2LoggingLevelsResult.h:55
LogTargetConfiguration.h
Aws::IoT::Model::LogTargetConfiguration
Definition: LogTargetConfiguration.h:33
AWSString.h
Aws::IoT::Model::ListV2LoggingLevelsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListV2LoggingLevelsResult.h:89
Aws::IoT::Model::ListV2LoggingLevelsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListV2LoggingLevelsResult.h:77
Aws::IoT::Model::ListV2LoggingLevelsResult::WithNextToken
ListV2LoggingLevelsResult & WithNextToken(const char *value)
Definition: ListV2LoggingLevelsResult.h:113
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListV2LoggingLevelsResult::WithNextToken
ListV2LoggingLevelsResult & WithNextToken(Aws::String &&value)
Definition: ListV2LoggingLevelsResult.h:107
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::ListV2LoggingLevelsResult::WithLogTargetConfigurations
ListV2LoggingLevelsResult & WithLogTargetConfigurations(Aws::Vector< LogTargetConfiguration > &&value)
Definition: ListV2LoggingLevelsResult.h:60
Aws::IoT::Model::ListV2LoggingLevelsResult::WithNextToken
ListV2LoggingLevelsResult & WithNextToken(const Aws::String &value)
Definition: ListV2LoggingLevelsResult.h:101
Aws::IoT::Model::ListV2LoggingLevelsResult::SetLogTargetConfigurations
void SetLogTargetConfigurations(Aws::Vector< LogTargetConfiguration > &&value)
Definition: ListV2LoggingLevelsResult.h:50
Aws::IoT::Model::ListV2LoggingLevelsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListV2LoggingLevelsResult.h:95
Aws::IoT::Model::ListV2LoggingLevelsResult::ListV2LoggingLevelsResult
ListV2LoggingLevelsResult()
Aws::IoT::Model::ListV2LoggingLevelsResult
Definition: ListV2LoggingLevelsResult.h:30
IoT_EXPORTS.h