AWS SDK for C++

AWS SDK for C++ Version 1.11.907

Loading...
Searching...
No Matches
GetAgentContextRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace WellArchitected {
15namespace Model {
16
20 public:
21 AWS_WELLARCHITECTED_API GetAgentContextRequest() = 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 "GetAgentContext"; }
28
29 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
30
34 AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override;
35
37
40 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
41 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
42 template <typename ProfileArnT = Aws::String>
43 void SetProfileArn(ProfileArnT&& value) {
44 m_profileArnHasBeenSet = true;
45 m_profileArn = std::forward<ProfileArnT>(value);
46 }
47 template <typename ProfileArnT = Aws::String>
48 GetAgentContextRequest& WithProfileArn(ProfileArnT&& value) {
49 SetProfileArn(std::forward<ProfileArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_profileArn;
73
74 Aws::String m_id;
75 bool m_profileArnHasBeenSet = false;
76 bool m_idHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace WellArchitected
81} // namespace Aws
AWS_WELLARCHITECTED_API GetAgentContextRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override
GetAgentContextRequest & WithProfileArn(ProfileArnT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String