AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeOpsItemsRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ssm/model/OpsItemFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SSM
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeOpsItems"; }
33
34 AWS_SSM_API Aws::String SerializePayload() const override;
35
37
38
40
60 inline const Aws::Vector<OpsItemFilter>& GetOpsItemFilters() const{ return m_opsItemFilters; }
61 inline bool OpsItemFiltersHasBeenSet() const { return m_opsItemFiltersHasBeenSet; }
62 inline void SetOpsItemFilters(const Aws::Vector<OpsItemFilter>& value) { m_opsItemFiltersHasBeenSet = true; m_opsItemFilters = value; }
63 inline void SetOpsItemFilters(Aws::Vector<OpsItemFilter>&& value) { m_opsItemFiltersHasBeenSet = true; m_opsItemFilters = std::move(value); }
66 inline DescribeOpsItemsRequest& AddOpsItemFilters(const OpsItemFilter& value) { m_opsItemFiltersHasBeenSet = true; m_opsItemFilters.push_back(value); return *this; }
67 inline DescribeOpsItemsRequest& AddOpsItemFilters(OpsItemFilter&& value) { m_opsItemFiltersHasBeenSet = true; m_opsItemFilters.push_back(std::move(value)); return *this; }
69
71
76 inline int GetMaxResults() const{ return m_maxResults; }
77 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
78 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
79 inline DescribeOpsItemsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
81
83
86 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
88 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 inline DescribeOpsItemsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline DescribeOpsItemsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline DescribeOpsItemsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95 private:
96
97 Aws::Vector<OpsItemFilter> m_opsItemFilters;
98 bool m_opsItemFiltersHasBeenSet = false;
99
100 int m_maxResults;
101 bool m_maxResultsHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SSM
109} // namespace Aws
AWS_SSM_API Aws::String SerializePayload() const override
DescribeOpsItemsRequest & AddOpsItemFilters(const OpsItemFilter &value)
void SetOpsItemFilters(const Aws::Vector< OpsItemFilter > &value)
DescribeOpsItemsRequest & WithOpsItemFilters(Aws::Vector< OpsItemFilter > &&value)
DescribeOpsItemsRequest & WithNextToken(Aws::String &&value)
DescribeOpsItemsRequest & AddOpsItemFilters(OpsItemFilter &&value)
DescribeOpsItemsRequest & WithNextToken(const char *value)
const Aws::Vector< OpsItemFilter > & GetOpsItemFilters() const
DescribeOpsItemsRequest & WithOpsItemFilters(const Aws::Vector< OpsItemFilter > &value)
void SetOpsItemFilters(Aws::Vector< OpsItemFilter > &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeOpsItemsRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeOpsItemsRequest & WithMaxResults(int 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