AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeStandardsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SecurityHub
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Standard>& GetStandards() const{ return m_standards; }
41 
45  inline void SetStandards(const Aws::Vector<Standard>& value) { m_standards = value; }
46 
50  inline void SetStandards(Aws::Vector<Standard>&& value) { m_standards = std::move(value); }
51 
55  inline DescribeStandardsResult& WithStandards(const Aws::Vector<Standard>& value) { SetStandards(value); return *this;}
56 
60  inline DescribeStandardsResult& WithStandards(Aws::Vector<Standard>&& value) { SetStandards(std::move(value)); return *this;}
61 
65  inline DescribeStandardsResult& AddStandards(const Standard& value) { m_standards.push_back(value); return *this; }
66 
70  inline DescribeStandardsResult& AddStandards(Standard&& value) { m_standards.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline DescribeStandardsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline DescribeStandardsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline DescribeStandardsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<Standard> m_standards;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace SecurityHub
117 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SecurityHub::Model::DescribeStandardsResult::SetStandards
void SetStandards(const Aws::Vector< Standard > &value)
Definition: DescribeStandardsResult.h:45
Aws::SecurityHub::Model::DescribeStandardsResult::DescribeStandardsResult
DescribeStandardsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SecurityHub::Model::DescribeStandardsResult::SetStandards
void SetStandards(Aws::Vector< Standard > &&value)
Definition: DescribeStandardsResult.h:50
Standard.h
Aws::SecurityHub::Model::DescribeStandardsResult::WithNextToken
DescribeStandardsResult & WithNextToken(const Aws::String &value)
Definition: DescribeStandardsResult.h:96
Aws::SecurityHub::Model::Standard
Definition: Standard.h:32
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SecurityHub::Model::DescribeStandardsResult::operator=
DescribeStandardsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SecurityHub::Model::DescribeStandardsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeStandardsResult.h:76
Aws::SecurityHub::Model::DescribeStandardsResult::WithStandards
DescribeStandardsResult & WithStandards(Aws::Vector< Standard > &&value)
Definition: DescribeStandardsResult.h:60
Aws::SecurityHub::Model::DescribeStandardsResult::WithNextToken
DescribeStandardsResult & WithNextToken(Aws::String &&value)
Definition: DescribeStandardsResult.h:101
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::DescribeStandardsResult::DescribeStandardsResult
DescribeStandardsResult()
Aws::SecurityHub::Model::DescribeStandardsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeStandardsResult.h:81
Aws::SecurityHub::Model::DescribeStandardsResult::AddStandards
DescribeStandardsResult & AddStandards(Standard &&value)
Definition: DescribeStandardsResult.h:70
Aws::SecurityHub::Model::DescribeStandardsResult::AddStandards
DescribeStandardsResult & AddStandards(const Standard &value)
Definition: DescribeStandardsResult.h:65
AWSString.h
Aws::SecurityHub::Model::DescribeStandardsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeStandardsResult.h:91
Aws::SecurityHub::Model::DescribeStandardsResult::WithStandards
DescribeStandardsResult & WithStandards(const Aws::Vector< Standard > &value)
Definition: DescribeStandardsResult.h:55
Aws::SecurityHub::Model::DescribeStandardsResult
Definition: DescribeStandardsResult.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::DescribeStandardsResult::GetStandards
const Aws::Vector< Standard > & GetStandards() const
Definition: DescribeStandardsResult.h:40
Aws::SecurityHub::Model::DescribeStandardsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeStandardsResult.h:86
Aws::SecurityHub::Model::DescribeStandardsResult::WithNextToken
DescribeStandardsResult & WithNextToken(const char *value)
Definition: DescribeStandardsResult.h:106
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h