AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
49 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
50 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
51 inline ApiAssociation& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
52 inline ApiAssociation& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
53 inline ApiAssociation& WithDomainName(const char* value) { SetDomainName(value); return *this;}
55
57
60 inline const Aws::String& GetApiId() const{ return m_apiId; }
61 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
62 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
63 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
64 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
65 inline ApiAssociation& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
66 inline ApiAssociation& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
67 inline ApiAssociation& WithApiId(const char* value) { SetApiId(value); return *this;}
69
71
79 inline const AssociationStatus& GetAssociationStatus() const{ return m_associationStatus; }
80 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
81 inline void SetAssociationStatus(const AssociationStatus& value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
82 inline void SetAssociationStatus(AssociationStatus&& value) { m_associationStatusHasBeenSet = true; m_associationStatus = std::move(value); }
83 inline ApiAssociation& WithAssociationStatus(const AssociationStatus& value) { SetAssociationStatus(value); return *this;}
84 inline ApiAssociation& WithAssociationStatus(AssociationStatus&& value) { SetAssociationStatus(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetDeploymentDetail() const{ return m_deploymentDetail; }
92 inline bool DeploymentDetailHasBeenSet() const { return m_deploymentDetailHasBeenSet; }
93 inline void SetDeploymentDetail(const Aws::String& value) { m_deploymentDetailHasBeenSet = true; m_deploymentDetail = value; }
94 inline void SetDeploymentDetail(Aws::String&& value) { m_deploymentDetailHasBeenSet = true; m_deploymentDetail = std::move(value); }
95 inline void SetDeploymentDetail(const char* value) { m_deploymentDetailHasBeenSet = true; m_deploymentDetail.assign(value); }
96 inline ApiAssociation& WithDeploymentDetail(const Aws::String& value) { SetDeploymentDetail(value); return *this;}
97 inline ApiAssociation& WithDeploymentDetail(Aws::String&& value) { SetDeploymentDetail(std::move(value)); return *this;}
98 inline ApiAssociation& WithDeploymentDetail(const char* value) { SetDeploymentDetail(value); return *this;}
100 private:
101
102 Aws::String m_domainName;
103 bool m_domainNameHasBeenSet = false;
104
105 Aws::String m_apiId;
106 bool m_apiIdHasBeenSet = false;
107
108 AssociationStatus m_associationStatus;
109 bool m_associationStatusHasBeenSet = false;
110
111 Aws::String m_deploymentDetail;
112 bool m_deploymentDetailHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace AppSync
117} // namespace Aws
ApiAssociation & WithApiId(Aws::String &&value)
AWS_APPSYNC_API ApiAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetApiId() const
ApiAssociation & WithDeploymentDetail(const char *value)
ApiAssociation & WithAssociationStatus(AssociationStatus &&value)
void SetAssociationStatus(AssociationStatus &&value)
ApiAssociation & WithDomainName(const char *value)
void SetDeploymentDetail(Aws::String &&value)
AWS_APPSYNC_API ApiAssociation(Aws::Utils::Json::JsonView jsonValue)
void SetApiId(const char *value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAssociationStatus(const AssociationStatus &value)
void SetApiId(Aws::String &&value)
void SetDeploymentDetail(const char *value)
void SetApiId(const Aws::String &value)
ApiAssociation & WithDeploymentDetail(Aws::String &&value)
const Aws::String & GetDeploymentDetail() const
const AssociationStatus & GetAssociationStatus() const
ApiAssociation & WithDomainName(Aws::String &&value)
const Aws::String & GetDomainName() const
void SetDomainName(Aws::String &&value)
void SetDomainName(const char *value)
void SetDeploymentDetail(const Aws::String &value)
ApiAssociation & WithDomainName(const Aws::String &value)
void SetDomainName(const Aws::String &value)
ApiAssociation & WithAssociationStatus(const AssociationStatus &value)
ApiAssociation & WithApiId(const Aws::String &value)
ApiAssociation & WithDeploymentDetail(const Aws::String &value)
ApiAssociation & WithApiId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue