AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationFleetAssociation.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppStream
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APPSTREAM_API ApplicationFleetAssociation();
37 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetFleetName() const{ return m_fleetName; }
45 inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; }
46 inline void SetFleetName(const Aws::String& value) { m_fleetNameHasBeenSet = true; m_fleetName = value; }
47 inline void SetFleetName(Aws::String&& value) { m_fleetNameHasBeenSet = true; m_fleetName = std::move(value); }
48 inline void SetFleetName(const char* value) { m_fleetNameHasBeenSet = true; m_fleetName.assign(value); }
49 inline ApplicationFleetAssociation& WithFleetName(const Aws::String& value) { SetFleetName(value); return *this;}
50 inline ApplicationFleetAssociation& WithFleetName(Aws::String&& value) { SetFleetName(std::move(value)); return *this;}
51 inline ApplicationFleetAssociation& WithFleetName(const char* value) { SetFleetName(value); return *this;}
53
55
58 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
59 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
60 inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; }
61 inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); }
62 inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); }
63 inline ApplicationFleetAssociation& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
64 inline ApplicationFleetAssociation& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
65 inline ApplicationFleetAssociation& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
67 private:
68
69 Aws::String m_fleetName;
70 bool m_fleetNameHasBeenSet = false;
71
72 Aws::String m_applicationArn;
73 bool m_applicationArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AppStream
78} // namespace Aws
ApplicationFleetAssociation & WithApplicationArn(const char *value)
ApplicationFleetAssociation & WithApplicationArn(const Aws::String &value)
ApplicationFleetAssociation & WithFleetName(const char *value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSTREAM_API ApplicationFleetAssociation(Aws::Utils::Json::JsonView jsonValue)
ApplicationFleetAssociation & WithFleetName(const Aws::String &value)
ApplicationFleetAssociation & WithFleetName(Aws::String &&value)
ApplicationFleetAssociation & WithApplicationArn(Aws::String &&value)
AWS_APPSTREAM_API ApplicationFleetAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue