AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename TargetDestinationT = Aws::Vector<SelfManageTargetDestination>>
48 void SetTargetDestination(TargetDestinationT&& value) { m_targetDestinationHasBeenSet = true; m_targetDestination = std::forward<TargetDestinationT>(value); }
49 template<typename TargetDestinationT = Aws::Vector<SelfManageTargetDestination>>
50 SelfManageResources& WithTargetDestination(TargetDestinationT&& value) { SetTargetDestination(std::forward<TargetDestinationT>(value)); return *this;}
51 inline SelfManageResources& AddTargetDestination(SelfManageTargetDestination value) { m_targetDestinationHasBeenSet = true; m_targetDestination.push_back(value); return *this; }
53 private:
54
56 bool m_targetDestinationHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace MigrationHubStrategyRecommendations
61} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SelfManageResources(Aws::Utils::Json::JsonView jsonValue)
SelfManageResources & WithTargetDestination(TargetDestinationT &&value)
const Aws::Vector< SelfManageTargetDestination > & GetTargetDestination() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SelfManageResources()=default
SelfManageResources & AddTargetDestination(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