AWS SDK for C++  1.9.129
AWS SDK for C++
ListThingRegistrationTaskReportsResult.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<Aws::String>& GetResourceLinks() const{ return m_resourceLinks; }
41 
45  inline void SetResourceLinks(const Aws::Vector<Aws::String>& value) { m_resourceLinks = value; }
46 
50  inline void SetResourceLinks(Aws::Vector<Aws::String>&& value) { m_resourceLinks = std::move(value); }
51 
55  inline ListThingRegistrationTaskReportsResult& WithResourceLinks(const Aws::Vector<Aws::String>& value) { SetResourceLinks(value); return *this;}
56 
60  inline ListThingRegistrationTaskReportsResult& WithResourceLinks(Aws::Vector<Aws::String>&& value) { SetResourceLinks(std::move(value)); return *this;}
61 
65  inline ListThingRegistrationTaskReportsResult& AddResourceLinks(const Aws::String& value) { m_resourceLinks.push_back(value); return *this; }
66 
70  inline ListThingRegistrationTaskReportsResult& AddResourceLinks(Aws::String&& value) { m_resourceLinks.push_back(std::move(value)); return *this; }
71 
75  inline ListThingRegistrationTaskReportsResult& AddResourceLinks(const char* value) { m_resourceLinks.push_back(value); return *this; }
76 
77 
81  inline const ReportType& GetReportType() const{ return m_reportType; }
82 
86  inline void SetReportType(const ReportType& value) { m_reportType = value; }
87 
91  inline void SetReportType(ReportType&& value) { m_reportType = std::move(value); }
92 
96  inline ListThingRegistrationTaskReportsResult& WithReportType(const ReportType& value) { SetReportType(value); return *this;}
97 
101  inline ListThingRegistrationTaskReportsResult& WithReportType(ReportType&& value) { SetReportType(std::move(value)); return *this;}
102 
103 
108  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
109 
114  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
115 
120  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
121 
126  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
127 
132  inline ListThingRegistrationTaskReportsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
133 
138  inline ListThingRegistrationTaskReportsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
139 
144  inline ListThingRegistrationTaskReportsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
145 
146  private:
147 
148  Aws::Vector<Aws::String> m_resourceLinks;
149 
150  ReportType m_reportType;
151 
152  Aws::String m_nextToken;
153  };
154 
155 } // namespace Model
156 } // namespace IoT
157 } // namespace Aws
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::ListThingRegistrationTaskReportsResult
ListThingRegistrationTaskReportsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::SetReportType
void SetReportType(ReportType &&value)
Definition: ListThingRegistrationTaskReportsResult.h:91
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListThingRegistrationTaskReportsResult.h:114
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::WithNextToken
ListThingRegistrationTaskReportsResult & WithNextToken(const Aws::String &value)
Definition: ListThingRegistrationTaskReportsResult.h:132
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::WithNextToken
ListThingRegistrationTaskReportsResult & WithNextToken(const char *value)
Definition: ListThingRegistrationTaskReportsResult.h:144
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::AddResourceLinks
ListThingRegistrationTaskReportsResult & AddResourceLinks(Aws::String &&value)
Definition: ListThingRegistrationTaskReportsResult.h:70
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::WithResourceLinks
ListThingRegistrationTaskReportsResult & WithResourceLinks(const Aws::Vector< Aws::String > &value)
Definition: ListThingRegistrationTaskReportsResult.h:55
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListThingRegistrationTaskReportsResult.h:120
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::operator=
ListThingRegistrationTaskReportsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::WithNextToken
ListThingRegistrationTaskReportsResult & WithNextToken(Aws::String &&value)
Definition: ListThingRegistrationTaskReportsResult.h:138
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::WithReportType
ListThingRegistrationTaskReportsResult & WithReportType(const ReportType &value)
Definition: ListThingRegistrationTaskReportsResult.h:96
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::AddResourceLinks
ListThingRegistrationTaskReportsResult & AddResourceLinks(const Aws::String &value)
Definition: ListThingRegistrationTaskReportsResult.h:65
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::SetReportType
void SetReportType(const ReportType &value)
Definition: ListThingRegistrationTaskReportsResult.h:86
Aws::IoT::Model::ReportType
ReportType
Definition: ReportType.h:17
Aws::IoT::Model::ListThingRegistrationTaskReportsResult
Definition: ListThingRegistrationTaskReportsResult.h:30
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListThingRegistrationTaskReportsResult.h:126
AWSString.h
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::ListThingRegistrationTaskReportsResult
ListThingRegistrationTaskReportsResult()
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::AddResourceLinks
ListThingRegistrationTaskReportsResult & AddResourceLinks(const char *value)
Definition: ListThingRegistrationTaskReportsResult.h:75
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::GetReportType
const ReportType & GetReportType() const
Definition: ListThingRegistrationTaskReportsResult.h:81
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::WithResourceLinks
ListThingRegistrationTaskReportsResult & WithResourceLinks(Aws::Vector< Aws::String > &&value)
Definition: ListThingRegistrationTaskReportsResult.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::WithReportType
ListThingRegistrationTaskReportsResult & WithReportType(ReportType &&value)
Definition: ListThingRegistrationTaskReportsResult.h:101
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
ReportType.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::SetResourceLinks
void SetResourceLinks(const Aws::Vector< Aws::String > &value)
Definition: ListThingRegistrationTaskReportsResult.h:45
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::GetResourceLinks
const Aws::Vector< Aws::String > & GetResourceLinks() const
Definition: ListThingRegistrationTaskReportsResult.h:40
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListThingRegistrationTaskReportsResult.h:108
Aws::IoT::Model::ListThingRegistrationTaskReportsResult::SetResourceLinks
void SetResourceLinks(Aws::Vector< Aws::String > &&value)
Definition: ListThingRegistrationTaskReportsResult.h:50
IoT_EXPORTS.h