AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEnabledControlsRequest.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/controltower/ControlTowerRequest.h>
9#include <aws/controltower/model/EnabledControlFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ControlTower
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONTROLTOWER_API ListEnabledControlsRequest();
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 "ListEnabledControls"; }
32
33 AWS_CONTROLTOWER_API Aws::String SerializePayload() const override;
34
35
37
41 inline const EnabledControlFilter& GetFilter() const{ return m_filter; }
42 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
43 inline void SetFilter(const EnabledControlFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
44 inline void SetFilter(EnabledControlFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
45 inline ListEnabledControlsRequest& WithFilter(const EnabledControlFilter& value) { SetFilter(value); return *this;}
46 inline ListEnabledControlsRequest& WithFilter(EnabledControlFilter&& value) { SetFilter(std::move(value)); return *this;}
48
50
53 inline int GetMaxResults() const{ return m_maxResults; }
54 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
55 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
56 inline ListEnabledControlsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
58
60
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 ListEnabledControlsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline ListEnabledControlsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline ListEnabledControlsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
81 inline const Aws::String& GetTargetIdentifier() const{ return m_targetIdentifier; }
82 inline bool TargetIdentifierHasBeenSet() const { return m_targetIdentifierHasBeenSet; }
83 inline void SetTargetIdentifier(const Aws::String& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = value; }
84 inline void SetTargetIdentifier(Aws::String&& value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier = std::move(value); }
85 inline void SetTargetIdentifier(const char* value) { m_targetIdentifierHasBeenSet = true; m_targetIdentifier.assign(value); }
87 inline ListEnabledControlsRequest& WithTargetIdentifier(Aws::String&& value) { SetTargetIdentifier(std::move(value)); return *this;}
88 inline ListEnabledControlsRequest& WithTargetIdentifier(const char* value) { SetTargetIdentifier(value); return *this;}
90 private:
91
92 EnabledControlFilter m_filter;
93 bool m_filterHasBeenSet = false;
94
95 int m_maxResults;
96 bool m_maxResultsHasBeenSet = false;
97
98 Aws::String m_nextToken;
99 bool m_nextTokenHasBeenSet = false;
100
101 Aws::String m_targetIdentifier;
102 bool m_targetIdentifierHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ControlTower
107} // namespace Aws
ListEnabledControlsRequest & WithFilter(const EnabledControlFilter &value)
ListEnabledControlsRequest & WithTargetIdentifier(Aws::String &&value)
ListEnabledControlsRequest & WithTargetIdentifier(const Aws::String &value)
ListEnabledControlsRequest & WithNextToken(Aws::String &&value)
ListEnabledControlsRequest & WithTargetIdentifier(const char *value)
ListEnabledControlsRequest & WithFilter(EnabledControlFilter &&value)
ListEnabledControlsRequest & WithNextToken(const Aws::String &value)
AWS_CONTROLTOWER_API Aws::String SerializePayload() const override
ListEnabledControlsRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String