AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListSecurityPoliciesResult.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 Transfer
25{
26namespace Model
27{
29 {
30 public:
31 AWS_TRANSFER_API ListSecurityPoliciesResult();
34
35
37
43 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
44 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
45 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
46 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
47 inline ListSecurityPoliciesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
48 inline ListSecurityPoliciesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
49 inline ListSecurityPoliciesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
51
53
56 inline const Aws::Vector<Aws::String>& GetSecurityPolicyNames() const{ return m_securityPolicyNames; }
57 inline void SetSecurityPolicyNames(const Aws::Vector<Aws::String>& value) { m_securityPolicyNames = value; }
58 inline void SetSecurityPolicyNames(Aws::Vector<Aws::String>&& value) { m_securityPolicyNames = std::move(value); }
61 inline ListSecurityPoliciesResult& AddSecurityPolicyNames(const Aws::String& value) { m_securityPolicyNames.push_back(value); return *this; }
62 inline ListSecurityPoliciesResult& AddSecurityPolicyNames(Aws::String&& value) { m_securityPolicyNames.push_back(std::move(value)); return *this; }
63 inline ListSecurityPoliciesResult& AddSecurityPolicyNames(const char* value) { m_securityPolicyNames.push_back(value); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline ListSecurityPoliciesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline ListSecurityPoliciesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline ListSecurityPoliciesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::String m_nextToken;
79
80 Aws::Vector<Aws::String> m_securityPolicyNames;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace Transfer
87} // namespace Aws
ListSecurityPoliciesResult & WithRequestId(const char *value)
ListSecurityPoliciesResult & WithRequestId(const Aws::String &value)
void SetSecurityPolicyNames(const Aws::Vector< Aws::String > &value)
ListSecurityPoliciesResult & AddSecurityPolicyNames(Aws::String &&value)
ListSecurityPoliciesResult & WithNextToken(const Aws::String &value)
AWS_TRANSFER_API ListSecurityPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListSecurityPoliciesResult & WithSecurityPolicyNames(Aws::Vector< Aws::String > &&value)
ListSecurityPoliciesResult & AddSecurityPolicyNames(const Aws::String &value)
ListSecurityPoliciesResult & WithRequestId(Aws::String &&value)
ListSecurityPoliciesResult & WithNextToken(Aws::String &&value)
ListSecurityPoliciesResult & WithSecurityPolicyNames(const Aws::Vector< Aws::String > &value)
void SetSecurityPolicyNames(Aws::Vector< Aws::String > &&value)
ListSecurityPoliciesResult & AddSecurityPolicyNames(const char *value)
const Aws::Vector< Aws::String > & GetSecurityPolicyNames() const
AWS_TRANSFER_API ListSecurityPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListSecurityPoliciesResult & WithNextToken(const char *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