AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkSpaceApplicationDeployment.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/workspaces/model/WorkspaceResourceAssociation.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 WorkSpaces
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WORKSPACES_API WorkSpaceApplicationDeployment();
38 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<WorkspaceResourceAssociation>& GetAssociations() const{ return m_associations; }
46 inline bool AssociationsHasBeenSet() const { return m_associationsHasBeenSet; }
47 inline void SetAssociations(const Aws::Vector<WorkspaceResourceAssociation>& value) { m_associationsHasBeenSet = true; m_associations = value; }
48 inline void SetAssociations(Aws::Vector<WorkspaceResourceAssociation>&& value) { m_associationsHasBeenSet = true; m_associations = std::move(value); }
51 inline WorkSpaceApplicationDeployment& AddAssociations(const WorkspaceResourceAssociation& value) { m_associationsHasBeenSet = true; m_associations.push_back(value); return *this; }
52 inline WorkSpaceApplicationDeployment& AddAssociations(WorkspaceResourceAssociation&& value) { m_associationsHasBeenSet = true; m_associations.push_back(std::move(value)); return *this; }
54 private:
55
57 bool m_associationsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace WorkSpaces
62} // namespace Aws
AWS_WORKSPACES_API WorkSpaceApplicationDeployment & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkSpaceApplicationDeployment & AddAssociations(WorkspaceResourceAssociation &&value)
WorkSpaceApplicationDeployment & AddAssociations(const WorkspaceResourceAssociation &value)
void SetAssociations(const Aws::Vector< WorkspaceResourceAssociation > &value)
AWS_WORKSPACES_API WorkSpaceApplicationDeployment(Aws::Utils::Json::JsonView jsonValue)
WorkSpaceApplicationDeployment & WithAssociations(Aws::Vector< WorkspaceResourceAssociation > &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAssociations(Aws::Vector< WorkspaceResourceAssociation > &&value)
WorkSpaceApplicationDeployment & WithAssociations(const Aws::Vector< WorkspaceResourceAssociation > &value)
const Aws::Vector< WorkspaceResourceAssociation > & GetAssociations() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue