AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListPrincipalThingsResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT
25{
26namespace Model
27{
35 {
36 public:
40
41
43
46 inline const Aws::Vector<Aws::String>& GetThings() const{ return m_things; }
47 inline void SetThings(const Aws::Vector<Aws::String>& value) { m_things = value; }
48 inline void SetThings(Aws::Vector<Aws::String>&& value) { m_things = std::move(value); }
49 inline ListPrincipalThingsResult& WithThings(const Aws::Vector<Aws::String>& value) { SetThings(value); return *this;}
50 inline ListPrincipalThingsResult& WithThings(Aws::Vector<Aws::String>&& value) { SetThings(std::move(value)); return *this;}
51 inline ListPrincipalThingsResult& AddThings(const Aws::String& value) { m_things.push_back(value); return *this; }
52 inline ListPrincipalThingsResult& AddThings(Aws::String&& value) { m_things.push_back(std::move(value)); return *this; }
53 inline ListPrincipalThingsResult& AddThings(const char* value) { m_things.push_back(value); return *this; }
55
57
61 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
62 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
63 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
64 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
65 inline ListPrincipalThingsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 inline ListPrincipalThingsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
67 inline ListPrincipalThingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline ListPrincipalThingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline ListPrincipalThingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline ListPrincipalThingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
83
84 Aws::String m_nextToken;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace IoT
91} // namespace Aws
ListPrincipalThingsResult & AddThings(Aws::String &&value)
const Aws::Vector< Aws::String > & GetThings() const
ListPrincipalThingsResult & WithRequestId(const Aws::String &value)
ListPrincipalThingsResult & WithThings(Aws::Vector< Aws::String > &&value)
ListPrincipalThingsResult & WithRequestId(const char *value)
AWS_IOT_API ListPrincipalThingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetThings(Aws::Vector< Aws::String > &&value)
ListPrincipalThingsResult & WithNextToken(Aws::String &&value)
AWS_IOT_API ListPrincipalThingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListPrincipalThingsResult & WithRequestId(Aws::String &&value)
ListPrincipalThingsResult & AddThings(const Aws::String &value)
ListPrincipalThingsResult & WithThings(const Aws::Vector< Aws::String > &value)
ListPrincipalThingsResult & AddThings(const char *value)
void SetThings(const Aws::Vector< Aws::String > &value)
ListPrincipalThingsResult & WithNextToken(const char *value)
ListPrincipalThingsResult & WithNextToken(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