AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
GetProfileRequest.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 Http {
15class URI;
16} // namespace Http
17namespace WellArchitected {
18namespace Model {
19
23 public:
24 AWS_WELLARCHITECTED_API GetProfileRequest() = default;
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 "GetProfile"; }
31
32 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
33
34 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) 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 GetProfileRequest& WithProfileArn(ProfileArnT&& value) {
49 SetProfileArn(std::forward<ProfileArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
59 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
60 template <typename ProfileVersionT = Aws::String>
61 void SetProfileVersion(ProfileVersionT&& value) {
62 m_profileVersionHasBeenSet = true;
63 m_profileVersion = std::forward<ProfileVersionT>(value);
64 }
65 template <typename ProfileVersionT = Aws::String>
66 GetProfileRequest& WithProfileVersion(ProfileVersionT&& value) {
67 SetProfileVersion(std::forward<ProfileVersionT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_profileArn;
73 bool m_profileArnHasBeenSet = false;
74
75 Aws::String m_profileVersion;
76 bool m_profileVersionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace WellArchitected
81} // namespace Aws
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API GetProfileRequest()=default
GetProfileRequest & WithProfileVersion(ProfileVersionT &&value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetProfileVersion(ProfileVersionT &&value)
virtual const char * GetServiceRequestName() const override
GetProfileRequest & WithProfileArn(ProfileArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String