AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LaunchActionsStatus.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/drs/model/LaunchActionRun.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace drs
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DRS_API LaunchActionsStatus();
40
41
43
46 inline const Aws::Vector<LaunchActionRun>& GetRuns() const{ return m_runs; }
47 inline bool RunsHasBeenSet() const { return m_runsHasBeenSet; }
48 inline void SetRuns(const Aws::Vector<LaunchActionRun>& value) { m_runsHasBeenSet = true; m_runs = value; }
49 inline void SetRuns(Aws::Vector<LaunchActionRun>&& value) { m_runsHasBeenSet = true; m_runs = std::move(value); }
50 inline LaunchActionsStatus& WithRuns(const Aws::Vector<LaunchActionRun>& value) { SetRuns(value); return *this;}
51 inline LaunchActionsStatus& WithRuns(Aws::Vector<LaunchActionRun>&& value) { SetRuns(std::move(value)); return *this;}
52 inline LaunchActionsStatus& AddRuns(const LaunchActionRun& value) { m_runsHasBeenSet = true; m_runs.push_back(value); return *this; }
53 inline LaunchActionsStatus& AddRuns(LaunchActionRun&& value) { m_runsHasBeenSet = true; m_runs.push_back(std::move(value)); return *this; }
55
57
61 inline const Aws::String& GetSsmAgentDiscoveryDatetime() const{ return m_ssmAgentDiscoveryDatetime; }
62 inline bool SsmAgentDiscoveryDatetimeHasBeenSet() const { return m_ssmAgentDiscoveryDatetimeHasBeenSet; }
63 inline void SetSsmAgentDiscoveryDatetime(const Aws::String& value) { m_ssmAgentDiscoveryDatetimeHasBeenSet = true; m_ssmAgentDiscoveryDatetime = value; }
64 inline void SetSsmAgentDiscoveryDatetime(Aws::String&& value) { m_ssmAgentDiscoveryDatetimeHasBeenSet = true; m_ssmAgentDiscoveryDatetime = std::move(value); }
65 inline void SetSsmAgentDiscoveryDatetime(const char* value) { m_ssmAgentDiscoveryDatetimeHasBeenSet = true; m_ssmAgentDiscoveryDatetime.assign(value); }
68 inline LaunchActionsStatus& WithSsmAgentDiscoveryDatetime(const char* value) { SetSsmAgentDiscoveryDatetime(value); return *this;}
70 private:
71
73 bool m_runsHasBeenSet = false;
74
75 Aws::String m_ssmAgentDiscoveryDatetime;
76 bool m_ssmAgentDiscoveryDatetimeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace drs
81} // namespace Aws
LaunchActionsStatus & WithRuns(const Aws::Vector< LaunchActionRun > &value)
const Aws::String & GetSsmAgentDiscoveryDatetime() const
void SetSsmAgentDiscoveryDatetime(const char *value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DRS_API LaunchActionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API LaunchActionsStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< LaunchActionRun > & GetRuns() const
void SetSsmAgentDiscoveryDatetime(Aws::String &&value)
LaunchActionsStatus & AddRuns(LaunchActionRun &&value)
void SetRuns(Aws::Vector< LaunchActionRun > &&value)
void SetRuns(const Aws::Vector< LaunchActionRun > &value)
LaunchActionsStatus & WithRuns(Aws::Vector< LaunchActionRun > &&value)
LaunchActionsStatus & AddRuns(const LaunchActionRun &value)
LaunchActionsStatus & WithSsmAgentDiscoveryDatetime(const char *value)
void SetSsmAgentDiscoveryDatetime(const Aws::String &value)
LaunchActionsStatus & WithSsmAgentDiscoveryDatetime(Aws::String &&value)
LaunchActionsStatus & WithSsmAgentDiscoveryDatetime(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue