AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetProfileResourceAssociationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53profiles/Route53ProfilesRequest.h>
9#include <aws/route53profiles/Route53Profiles_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Route53Profiles {
15namespace Model {
16
20 public:
21 AWS_ROUTE53PROFILES_API GetProfileResourceAssociationRequest() = 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 "GetProfileResourceAssociation"; }
28
29 AWS_ROUTE53PROFILES_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetProfileResourceAssociationId() const { return m_profileResourceAssociationId; }
37 inline bool ProfileResourceAssociationIdHasBeenSet() const { return m_profileResourceAssociationIdHasBeenSet; }
38 template <typename ProfileResourceAssociationIdT = Aws::String>
39 void SetProfileResourceAssociationId(ProfileResourceAssociationIdT&& value) {
40 m_profileResourceAssociationIdHasBeenSet = true;
41 m_profileResourceAssociationId = std::forward<ProfileResourceAssociationIdT>(value);
42 }
43 template <typename ProfileResourceAssociationIdT = Aws::String>
45 SetProfileResourceAssociationId(std::forward<ProfileResourceAssociationIdT>(value));
46 return *this;
47 }
49 private:
50 Aws::String m_profileResourceAssociationId;
51 bool m_profileResourceAssociationIdHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace Route53Profiles
56} // namespace Aws
AWS_ROUTE53PROFILES_API Aws::String SerializePayload() const override
AWS_ROUTE53PROFILES_API GetProfileResourceAssociationRequest()=default
GetProfileResourceAssociationRequest & WithProfileResourceAssociationId(ProfileResourceAssociationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String