AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListThingPrincipalsResult.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>& GetPrincipals() const{ return m_principals; }
47 inline void SetPrincipals(const Aws::Vector<Aws::String>& value) { m_principals = value; }
48 inline void SetPrincipals(Aws::Vector<Aws::String>&& value) { m_principals = std::move(value); }
50 inline ListThingPrincipalsResult& WithPrincipals(Aws::Vector<Aws::String>&& value) { SetPrincipals(std::move(value)); return *this;}
51 inline ListThingPrincipalsResult& AddPrincipals(const Aws::String& value) { m_principals.push_back(value); return *this; }
52 inline ListThingPrincipalsResult& AddPrincipals(Aws::String&& value) { m_principals.push_back(std::move(value)); return *this; }
53 inline ListThingPrincipalsResult& AddPrincipals(const char* value) { m_principals.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 ListThingPrincipalsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 inline ListThingPrincipalsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
67 inline ListThingPrincipalsResult& 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 ListThingPrincipalsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline ListThingPrincipalsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline ListThingPrincipalsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::Vector<Aws::String> m_principals;
83
84 Aws::String m_nextToken;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace IoT
91} // namespace Aws
ListThingPrincipalsResult & WithNextToken(Aws::String &&value)
ListThingPrincipalsResult & WithRequestId(const Aws::String &value)
ListThingPrincipalsResult & WithNextToken(const Aws::String &value)
void SetPrincipals(const Aws::Vector< Aws::String > &value)
ListThingPrincipalsResult & WithRequestId(Aws::String &&value)
ListThingPrincipalsResult & AddPrincipals(const char *value)
AWS_IOT_API ListThingPrincipalsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListThingPrincipalsResult & WithPrincipals(Aws::Vector< Aws::String > &&value)
void SetPrincipals(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetPrincipals() const
ListThingPrincipalsResult & AddPrincipals(const Aws::String &value)
ListThingPrincipalsResult & WithRequestId(const char *value)
AWS_IOT_API ListThingPrincipalsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListThingPrincipalsResult & WithNextToken(const char *value)
ListThingPrincipalsResult & AddPrincipals(Aws::String &&value)
ListThingPrincipalsResult & WithPrincipals(const Aws::Vector< 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