AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
GetProfileEntryRequest.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensionsRequest.h>
8#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudExtensions {
15namespace Model {
16
23 public:
24 AWS_CLOUDEXTENSIONS_API GetProfileEntryRequest() = 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 "GetProfileEntry"; }
31
32 AWS_CLOUDEXTENSIONS_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetIdentifier() const { return m_identifier; }
39 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
40 template <typename IdentifierT = Aws::String>
41 void SetIdentifier(IdentifierT&& value) {
42 m_identifierHasBeenSet = true;
43 m_identifier = std::forward<IdentifierT>(value);
44 }
45 template <typename IdentifierT = Aws::String>
46 GetProfileEntryRequest& WithIdentifier(IdentifierT&& value) {
47 SetIdentifier(std::forward<IdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetProfileIdentifier() const { return m_profileIdentifier; }
57 inline bool ProfileIdentifierHasBeenSet() const { return m_profileIdentifierHasBeenSet; }
58 template <typename ProfileIdentifierT = Aws::String>
59 void SetProfileIdentifier(ProfileIdentifierT&& value) {
60 m_profileIdentifierHasBeenSet = true;
61 m_profileIdentifier = std::forward<ProfileIdentifierT>(value);
62 }
63 template <typename ProfileIdentifierT = Aws::String>
64 GetProfileEntryRequest& WithProfileIdentifier(ProfileIdentifierT&& value) {
65 SetProfileIdentifier(std::forward<ProfileIdentifierT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_identifier;
71
72 Aws::String m_profileIdentifier;
73 bool m_identifierHasBeenSet = false;
74 bool m_profileIdentifierHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace CloudExtensions
79} // namespace Aws
bool ProfileIdentifierHasBeenSet() const
void SetProfileIdentifier(ProfileIdentifierT &&value)
AWS_CLOUDEXTENSIONS_API GetProfileEntryRequest()=default
const Aws::String & GetIdentifier() const
virtual const char * GetServiceRequestName() const override
AWS_CLOUDEXTENSIONS_API Aws::String SerializePayload() const override
bool IdentifierHasBeenSet() const
const Aws::String & GetProfileIdentifier() const
GetProfileEntryRequest & WithIdentifier(IdentifierT &&value)
GetProfileEntryRequest & WithProfileIdentifier(ProfileIdentifierT &&value)
void SetIdentifier(IdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String