AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ApiAssociation.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/AssociationStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppSync
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPSYNC_API ApiAssociation() = default;
37 AWS_APPSYNC_API ApiAssociation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDomainName() const { return m_domainName; }
47 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
48 template<typename DomainNameT = Aws::String>
49 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
50 template<typename DomainNameT = Aws::String>
51 ApiAssociation& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetApiId() const { return m_apiId; }
59 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
60 template<typename ApiIdT = Aws::String>
61 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet = true; m_apiId = std::forward<ApiIdT>(value); }
62 template<typename ApiIdT = Aws::String>
63 ApiAssociation& WithApiId(ApiIdT&& value) { SetApiId(std::forward<ApiIdT>(value)); return *this;}
65
67
75 inline AssociationStatus GetAssociationStatus() const { return m_associationStatus; }
76 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
77 inline void SetAssociationStatus(AssociationStatus value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
80
82
85 inline const Aws::String& GetDeploymentDetail() const { return m_deploymentDetail; }
86 inline bool DeploymentDetailHasBeenSet() const { return m_deploymentDetailHasBeenSet; }
87 template<typename DeploymentDetailT = Aws::String>
88 void SetDeploymentDetail(DeploymentDetailT&& value) { m_deploymentDetailHasBeenSet = true; m_deploymentDetail = std::forward<DeploymentDetailT>(value); }
89 template<typename DeploymentDetailT = Aws::String>
90 ApiAssociation& WithDeploymentDetail(DeploymentDetailT&& value) { SetDeploymentDetail(std::forward<DeploymentDetailT>(value)); return *this;}
92 private:
93
94 Aws::String m_domainName;
95 bool m_domainNameHasBeenSet = false;
96
97 Aws::String m_apiId;
98 bool m_apiIdHasBeenSet = false;
99
101 bool m_associationStatusHasBeenSet = false;
102
103 Aws::String m_deploymentDetail;
104 bool m_deploymentDetailHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace AppSync
109} // namespace Aws
AWS_APPSYNC_API ApiAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetApiId() const
void SetDomainName(DomainNameT &&value)
AWS_APPSYNC_API ApiAssociation(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeploymentDetail(DeploymentDetailT &&value)
ApiAssociation & WithAssociationStatus(AssociationStatus value)
const Aws::String & GetDeploymentDetail() const
ApiAssociation & WithDomainName(DomainNameT &&value)
const Aws::String & GetDomainName() const
ApiAssociation & WithDeploymentDetail(DeploymentDetailT &&value)
AWS_APPSYNC_API ApiAssociation()=default
ApiAssociation & WithApiId(ApiIdT &&value)
AssociationStatus GetAssociationStatus() const
void SetAssociationStatus(AssociationStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue