AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SelfManageResources.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/migrationhubstrategy/model/SelfManageTargetDestination.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 MigrationHubStrategyRecommendations
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SelfManageResources();
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SelfManageResources(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SelfManageResources& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<SelfManageTargetDestination>& GetTargetDestination() const{ return m_targetDestination; }
46 inline bool TargetDestinationHasBeenSet() const { return m_targetDestinationHasBeenSet; }
47 inline void SetTargetDestination(const Aws::Vector<SelfManageTargetDestination>& value) { m_targetDestinationHasBeenSet = true; m_targetDestination = value; }
48 inline void SetTargetDestination(Aws::Vector<SelfManageTargetDestination>&& value) { m_targetDestinationHasBeenSet = true; m_targetDestination = std::move(value); }
51 inline SelfManageResources& AddTargetDestination(const SelfManageTargetDestination& value) { m_targetDestinationHasBeenSet = true; m_targetDestination.push_back(value); return *this; }
52 inline SelfManageResources& AddTargetDestination(SelfManageTargetDestination&& value) { m_targetDestinationHasBeenSet = true; m_targetDestination.push_back(std::move(value)); return *this; }
54 private:
55
57 bool m_targetDestinationHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace MigrationHubStrategyRecommendations
62} // namespace Aws
void SetTargetDestination(Aws::Vector< SelfManageTargetDestination > &&value)
SelfManageResources & WithTargetDestination(const Aws::Vector< SelfManageTargetDestination > &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SelfManageResources(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SelfManageTargetDestination > & GetTargetDestination() const
SelfManageResources & AddTargetDestination(SelfManageTargetDestination &&value)
SelfManageResources & WithTargetDestination(Aws::Vector< SelfManageTargetDestination > &&value)
SelfManageResources & AddTargetDestination(const SelfManageTargetDestination &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SelfManageResources()
void SetTargetDestination(const Aws::Vector< SelfManageTargetDestination > &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SelfManageResources & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue