AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SipRuleTargetApplication.h
1
6#pragma once
7#include <aws/chime/Chime_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 Chime
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CHIME_API SipRuleTargetApplication();
39 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSipMediaApplicationId() const{ return m_sipMediaApplicationId; }
47 inline bool SipMediaApplicationIdHasBeenSet() const { return m_sipMediaApplicationIdHasBeenSet; }
48 inline void SetSipMediaApplicationId(const Aws::String& value) { m_sipMediaApplicationIdHasBeenSet = true; m_sipMediaApplicationId = value; }
49 inline void SetSipMediaApplicationId(Aws::String&& value) { m_sipMediaApplicationIdHasBeenSet = true; m_sipMediaApplicationId = std::move(value); }
50 inline void SetSipMediaApplicationId(const char* value) { m_sipMediaApplicationIdHasBeenSet = true; m_sipMediaApplicationId.assign(value); }
53 inline SipRuleTargetApplication& WithSipMediaApplicationId(const char* value) { SetSipMediaApplicationId(value); return *this;}
55
57
60 inline int GetPriority() const{ return m_priority; }
61 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
62 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
63 inline SipRuleTargetApplication& WithPriority(int value) { SetPriority(value); return *this;}
65
67
70 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
71 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
72 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
73 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
74 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
75 inline SipRuleTargetApplication& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
76 inline SipRuleTargetApplication& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
77 inline SipRuleTargetApplication& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
79 private:
80
81 Aws::String m_sipMediaApplicationId;
82 bool m_sipMediaApplicationIdHasBeenSet = false;
83
84 int m_priority;
85 bool m_priorityHasBeenSet = false;
86
87 Aws::String m_awsRegion;
88 bool m_awsRegionHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Chime
93} // namespace Aws
SipRuleTargetApplication & WithSipMediaApplicationId(Aws::String &&value)
SipRuleTargetApplication & WithSipMediaApplicationId(const Aws::String &value)
AWS_CHIME_API SipRuleTargetApplication & operator=(Aws::Utils::Json::JsonView jsonValue)
SipRuleTargetApplication & WithAwsRegion(const char *value)
SipRuleTargetApplication & WithPriority(int value)
SipRuleTargetApplication & WithAwsRegion(const Aws::String &value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSipMediaApplicationId(const Aws::String &value)
SipRuleTargetApplication & WithAwsRegion(Aws::String &&value)
SipRuleTargetApplication & WithSipMediaApplicationId(const char *value)
AWS_CHIME_API SipRuleTargetApplication(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue