AWS SDK for C++

AWS SDK for C++ Version 1.11.783

Loading...
Searching...
No Matches
GetControlRequest.h
1
6#pragma once
7#include <aws/controlcatalog/ControlCatalogRequest.h>
8#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ControlCatalog {
15namespace Model {
16
20 public:
21 AWS_CONTROLCATALOG_API GetControlRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetControl"; }
28
29 AWS_CONTROLCATALOG_API Aws::String SerializePayload() const override;
30
32
43 inline const Aws::String& GetControlArn() const { return m_controlArn; }
44 inline bool ControlArnHasBeenSet() const { return m_controlArnHasBeenSet; }
45 template <typename ControlArnT = Aws::String>
46 void SetControlArn(ControlArnT&& value) {
47 m_controlArnHasBeenSet = true;
48 m_controlArn = std::forward<ControlArnT>(value);
49 }
50 template <typename ControlArnT = Aws::String>
51 GetControlRequest& WithControlArn(ControlArnT&& value) {
52 SetControlArn(std::forward<ControlArnT>(value));
53 return *this;
54 }
56 private:
57 Aws::String m_controlArn;
58 bool m_controlArnHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace ControlCatalog
63} // namespace Aws
GetControlRequest & WithControlArn(ControlArnT &&value)
AWS_CONTROLCATALOG_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_CONTROLCATALOG_API GetControlRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String