AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEnrollmentStatusesResult.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cost-optimization-hub/model/AccountEnrollmentStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CostOptimizationHub
26{
27namespace Model
28{
30 {
31 public:
32 AWS_COSTOPTIMIZATIONHUB_API ListEnrollmentStatusesResult();
35
36
38
42 inline const Aws::Vector<AccountEnrollmentStatus>& GetItems() const{ return m_items; }
43 inline void SetItems(const Aws::Vector<AccountEnrollmentStatus>& value) { m_items = value; }
44 inline void SetItems(Aws::Vector<AccountEnrollmentStatus>&& value) { m_items = std::move(value); }
46 inline ListEnrollmentStatusesResult& WithItems(Aws::Vector<AccountEnrollmentStatus>&& value) { SetItems(std::move(value)); return *this;}
47 inline ListEnrollmentStatusesResult& AddItems(const AccountEnrollmentStatus& value) { m_items.push_back(value); return *this; }
48 inline ListEnrollmentStatusesResult& AddItems(AccountEnrollmentStatus&& value) { m_items.push_back(std::move(value)); return *this; }
50
52
56 inline bool GetIncludeMemberAccounts() const{ return m_includeMemberAccounts; }
57 inline void SetIncludeMemberAccounts(bool value) { m_includeMemberAccounts = value; }
60
62
65 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
69 inline ListEnrollmentStatusesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline ListEnrollmentStatusesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline ListEnrollmentStatusesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline ListEnrollmentStatusesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline ListEnrollmentStatusesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline ListEnrollmentStatusesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
87
88 bool m_includeMemberAccounts;
89
90 Aws::String m_nextToken;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace CostOptimizationHub
97} // namespace Aws
ListEnrollmentStatusesResult & AddItems(const AccountEnrollmentStatus &value)
ListEnrollmentStatusesResult & AddItems(AccountEnrollmentStatus &&value)
ListEnrollmentStatusesResult & WithItems(const Aws::Vector< AccountEnrollmentStatus > &value)
const Aws::Vector< AccountEnrollmentStatus > & GetItems() const
ListEnrollmentStatusesResult & WithRequestId(const Aws::String &value)
AWS_COSTOPTIMIZATIONHUB_API ListEnrollmentStatusesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListEnrollmentStatusesResult & WithNextToken(const Aws::String &value)
ListEnrollmentStatusesResult & WithNextToken(const char *value)
ListEnrollmentStatusesResult & WithItems(Aws::Vector< AccountEnrollmentStatus > &&value)
void SetItems(Aws::Vector< AccountEnrollmentStatus > &&value)
void SetItems(const Aws::Vector< AccountEnrollmentStatus > &value)
AWS_COSTOPTIMIZATIONHUB_API ListEnrollmentStatusesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListEnrollmentStatusesResult & WithRequestId(const char *value)
ListEnrollmentStatusesResult & WithNextToken(Aws::String &&value)
ListEnrollmentStatusesResult & WithRequestId(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