AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchLookupPolicyResponse.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/clouddirectory/model/PolicyToPath.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CloudDirectory
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CLOUDDIRECTORY_API BatchLookupPolicyResponse();
38 AWS_CLOUDDIRECTORY_API BatchLookupPolicyResponse(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::Vector<PolicyToPath>& GetPolicyToPathList() const{ return m_policyToPathList; }
51 inline bool PolicyToPathListHasBeenSet() const { return m_policyToPathListHasBeenSet; }
52 inline void SetPolicyToPathList(const Aws::Vector<PolicyToPath>& value) { m_policyToPathListHasBeenSet = true; m_policyToPathList = value; }
53 inline void SetPolicyToPathList(Aws::Vector<PolicyToPath>&& value) { m_policyToPathListHasBeenSet = true; m_policyToPathList = std::move(value); }
56 inline BatchLookupPolicyResponse& AddPolicyToPathList(const PolicyToPath& value) { m_policyToPathListHasBeenSet = true; m_policyToPathList.push_back(value); return *this; }
57 inline BatchLookupPolicyResponse& AddPolicyToPathList(PolicyToPath&& value) { m_policyToPathListHasBeenSet = true; m_policyToPathList.push_back(std::move(value)); return *this; }
59
61
64 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
65 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
66 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
69 inline BatchLookupPolicyResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline BatchLookupPolicyResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline BatchLookupPolicyResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73 private:
74
75 Aws::Vector<PolicyToPath> m_policyToPathList;
76 bool m_policyToPathListHasBeenSet = false;
77
78 Aws::String m_nextToken;
79 bool m_nextTokenHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CloudDirectory
84} // namespace Aws
BatchLookupPolicyResponse & WithPolicyToPathList(const Aws::Vector< PolicyToPath > &value)
BatchLookupPolicyResponse & AddPolicyToPathList(const PolicyToPath &value)
AWS_CLOUDDIRECTORY_API BatchLookupPolicyResponse(Aws::Utils::Json::JsonView jsonValue)
BatchLookupPolicyResponse & WithPolicyToPathList(Aws::Vector< PolicyToPath > &&value)
const Aws::Vector< PolicyToPath > & GetPolicyToPathList() const
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchLookupPolicyResponse & WithNextToken(Aws::String &&value)
BatchLookupPolicyResponse & WithNextToken(const char *value)
void SetPolicyToPathList(Aws::Vector< PolicyToPath > &&value)
BatchLookupPolicyResponse & WithNextToken(const Aws::String &value)
void SetPolicyToPathList(const Aws::Vector< PolicyToPath > &value)
AWS_CLOUDDIRECTORY_API BatchLookupPolicyResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchLookupPolicyResponse & AddPolicyToPathList(PolicyToPath &&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