AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeConformancePacksRequest.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/ConfigServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ConfigService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONFIGSERVICE_API DescribeConformancePacksRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeConformancePacks"; }
32
33 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
44 inline const Aws::Vector<Aws::String>& GetConformancePackNames() const{ return m_conformancePackNames; }
45 inline bool ConformancePackNamesHasBeenSet() const { return m_conformancePackNamesHasBeenSet; }
46 inline void SetConformancePackNames(const Aws::Vector<Aws::String>& value) { m_conformancePackNamesHasBeenSet = true; m_conformancePackNames = value; }
47 inline void SetConformancePackNames(Aws::Vector<Aws::String>&& value) { m_conformancePackNamesHasBeenSet = true; m_conformancePackNames = std::move(value); }
50 inline DescribeConformancePacksRequest& AddConformancePackNames(const Aws::String& value) { m_conformancePackNamesHasBeenSet = true; m_conformancePackNames.push_back(value); return *this; }
51 inline DescribeConformancePacksRequest& AddConformancePackNames(Aws::String&& value) { m_conformancePackNamesHasBeenSet = true; m_conformancePackNames.push_back(std::move(value)); return *this; }
52 inline DescribeConformancePacksRequest& AddConformancePackNames(const char* value) { m_conformancePackNamesHasBeenSet = true; m_conformancePackNames.push_back(value); return *this; }
54
56
59 inline int GetLimit() const{ return m_limit; }
60 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
61 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
62 inline DescribeConformancePacksRequest& WithLimit(int value) { SetLimit(value); return *this;}
64
66
70 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
75 inline DescribeConformancePacksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline DescribeConformancePacksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline DescribeConformancePacksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79 private:
80
81 Aws::Vector<Aws::String> m_conformancePackNames;
82 bool m_conformancePackNamesHasBeenSet = false;
83
84 int m_limit;
85 bool m_limitHasBeenSet = false;
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ConfigService
93} // namespace Aws
DescribeConformancePacksRequest & AddConformancePackNames(const char *value)
DescribeConformancePacksRequest & WithNextToken(const char *value)
DescribeConformancePacksRequest & WithConformancePackNames(const Aws::Vector< Aws::String > &value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
DescribeConformancePacksRequest & AddConformancePackNames(const Aws::String &value)
DescribeConformancePacksRequest & WithConformancePackNames(Aws::Vector< Aws::String > &&value)
DescribeConformancePacksRequest & WithNextToken(const Aws::String &value)
void SetConformancePackNames(const Aws::Vector< Aws::String > &value)
DescribeConformancePacksRequest & WithNextToken(Aws::String &&value)
DescribeConformancePacksRequest & AddConformancePackNames(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector