AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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