AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
GetEnvironmentCredentialsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DataZone {
15namespace Model {
16
20 public:
21 AWS_DATAZONE_API GetEnvironmentCredentialsRequest() = 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 "GetEnvironmentCredentials"; }
28
29 AWS_DATAZONE_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
37 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
38 template <typename DomainIdentifierT = Aws::String>
39 void SetDomainIdentifier(DomainIdentifierT&& value) {
40 m_domainIdentifierHasBeenSet = true;
41 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
42 }
43 template <typename DomainIdentifierT = Aws::String>
45 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
55 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
56 template <typename EnvironmentIdentifierT = Aws::String>
57 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) {
58 m_environmentIdentifierHasBeenSet = true;
59 m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value);
60 }
61 template <typename EnvironmentIdentifierT = Aws::String>
63 SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_domainIdentifier;
69 bool m_domainIdentifierHasBeenSet = false;
70
71 Aws::String m_environmentIdentifier;
72 bool m_environmentIdentifierHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace DataZone
77} // namespace Aws
AWS_DATAZONE_API GetEnvironmentCredentialsRequest()=default
AWS_DATAZONE_API Aws::String SerializePayload() const override
GetEnvironmentCredentialsRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
GetEnvironmentCredentialsRequest & WithDomainIdentifier(DomainIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String